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

13 lines
320 B
Plaintext
Raw Normal View History

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