File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
error: cannot find attribute `method` in this scope
2
- --> tests/ui/derive_fail_methods.rs:12:7
3
- |
4
- 12 | #[method]
5
- | ^^^^^^ help: an attribute macro with a similar name exists: `methods`
6
- |
7
- ::: $WORKSPACE/gdnative-derive/src/lib.rs
8
- |
9
- | pub fn methods(meta: TokenStream, input: TokenStream) -> TokenStream {
10
- | -------------------------------------------------------------------- similarly named attribute macro `methods` defined here
2
+ --> tests/ui/derive_fail_methods.rs:12:7
3
+ |
4
+ 12 | #[method]
5
+ | ^^^^^^ help: an attribute macro with a similar name exists: `methods`
6
+ |
7
+ ::: $WORKSPACE/gdnative-derive/src/lib.rs
8
+ |
9
+ | pub fn methods(meta: TokenStream, input: TokenStream) -> TokenStream {
10
+ | -------------------------------------------------------------------- similarly named attribute macro `methods` defined here
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ error[E0271]: type mismatch resolving `<String as Export>::Hint == ()`
2
2
--> $DIR/derive_fail_property_hint.rs:5:19
3
3
|
4
4
5 | #[derive(Default, NativeClass)]
5
- | ^^^^^^^^^^^ expected enum `StringHint`, found `()`
5
+ | ^^^^^^^^^^^ expected `StringHint`, found `()`
6
6
|
7
7
= note: this error originates in the derive macro `NativeClass` (in Nightly builds, run with -Z macro-backtrace for more info)
You can’t perform that action at this time.
0 commit comments