Skip to content

Commit 6da8cdc

Browse files
committed
UI test maintenance; changed compiler output
1 parent 052347e commit 6da8cdc

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
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

gdnative/tests/ui/derive_fail_property_hint.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
|
44
5 | #[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)

0 commit comments

Comments
 (0)