]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/unused_braces_borrow.stderr
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / lint / unused_braces_borrow.stderr
1 warning: unnecessary braces around function argument
2   --> $DIR/unused_braces_borrow.rs:24:13
3    |
4 LL |     consume({ a.b });
5    |             ^^^^^^^ help: remove these braces
6    |
7 note: the lint level is defined here
8   --> $DIR/unused_braces_borrow.rs:4:9
9    |
10 LL | #![warn(unused_braces)]
11    |         ^^^^^^^^^^^^^
12
13 warning: 1 warning emitted
14