]>
Commit | Line | Data |
---|---|---|
ba9703b0 | 1 | warning: unnecessary braces around function argument |
f035d41b | 2 | --> $DIR/unused_braces_borrow.rs:24:13 |
ba9703b0 XL |
3 | | |
4 | LL | consume({ a.b }); | |
c295e0f8 | 5 | | ^^ ^^ |
ba9703b0 XL |
6 | | |
7 | note: the lint level is defined here | |
f035d41b | 8 | --> $DIR/unused_braces_borrow.rs:4:9 |
ba9703b0 XL |
9 | | |
10 | LL | #![warn(unused_braces)] | |
11 | | ^^^^^^^^^^^^^ | |
c295e0f8 XL |
12 | help: remove these braces |
13 | | | |
14 | LL - consume({ a.b }); | |
15 | LL + consume(a.b); | |
923072b8 | 16 | | |
ba9703b0 XL |
17 | |
18 | warning: 1 warning emitted | |
19 |