diff --git a/tests/ui/msg_send_no_return_type.stderr b/tests/ui/msg_send_no_return_type.stderr index 6345e3adc..a64ce72f5 100644 --- a/tests/ui/msg_send_no_return_type.stderr +++ b/tests/ui/msg_send_no_return_type.stderr @@ -2,6 +2,11 @@ error[E0282]: type annotations needed --> ui/msg_send_no_return_type.rs:8:9 | 8 | msg_send![cls, new]; - | ^^^^^^^^^^^^^^^^^^^ consider giving `result` a type + | ^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info) +help: consider giving `result` an explicit type + --> $WORKSPACE/objc2/src/macros.rs + | + | let result: _; + | +++