rust/src/test/ui/lint/unused_braces_borrow.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
409 B
Plaintext
Raw Normal View History

warning: unnecessary braces around function argument
2020-07-02 00:32:12 -05:00
--> $DIR/unused_braces_borrow.rs:24:13
2020-03-27 15:56:58 -05:00
|
LL | consume({ a.b });
| ^^ ^^
2020-03-27 15:56:58 -05:00
|
note: the lint level is defined here
2020-07-02 00:32:12 -05:00
--> $DIR/unused_braces_borrow.rs:4:9
2020-03-27 15:56:58 -05:00
|
LL | #![warn(unused_braces)]
| ^^^^^^^^^^^^^
help: remove these braces
|
LL - consume({ a.b });
LL + consume(a.b);
|
2020-03-27 15:56:58 -05:00
warning: 1 warning emitted