2020-04-04 15:40:31 -05:00
|
|
|
warning: unnecessary braces around function argument
|
|
|
|
--> $DIR/unused_braces_borrow.rs:22:13
|
2020-03-27 15:56:58 -05:00
|
|
|
|
|
2020-04-04 15:40:31 -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
|
2020-04-04 15:40:31 -05:00
|
|
|
--> $DIR/unused_braces_borrow.rs:2:9
|
2020-03-27 15:56:58 -05:00
|
|
|
|
|
|
|
|
LL | #![warn(unused_braces)]
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
2020-03-11 10:30:09 -05:00
|
|
|
warning: 1 warning emitted
|
|
|
|
|