Skip to content

Commit 5726902

Browse files
committed
Fix UI test change
1 parent 20eb41c commit 5726902

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/ui/msg_send_no_return_type.stderr

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ error[E0282]: type annotations needed
22
--> ui/msg_send_no_return_type.rs:8:9
33
|
44
8 | msg_send![cls, new];
5-
| ^^^^^^^^^^^^^^^^^^^ consider giving `result` a type
5+
| ^^^^^^^^^^^^^^^^^^^
66
|
77
= note: this error originates in the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info)
8+
help: consider giving `result` an explicit type
9+
--> $WORKSPACE/objc2/src/macros.rs
10+
|
11+
| let result: _;
12+
| +++

0 commit comments

Comments
 (0)