]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/unused_braces_borrow.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[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    |             ^^   ^^
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 help: remove these braces
13    |
14 LL -     consume({ a.b });
15 LL +     consume(a.b);
16    |
17
18 warning: 1 warning emitted
19