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 11error: 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 == ()`
22 --> $DIR/derive_fail_property_hint.rs:5:19
33 |
445 | #[derive(Default, NativeClass)]
5- | ^^^^^^^^^^^ expected enum `StringHint`, found `()`
5+ | ^^^^^^^^^^^ expected `StringHint`, found `()`
66 |
77 = 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