]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/unused_braces_borrow.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / lint / unused_braces_borrow.stderr
CommitLineData
ba9703b0 1warning: unnecessary braces around function argument
f035d41b 2 --> $DIR/unused_braces_borrow.rs:24:13
ba9703b0
XL
3 |
4LL | consume({ a.b });
c295e0f8 5 | ^^ ^^
ba9703b0
XL
6 |
7note: the lint level is defined here
f035d41b 8 --> $DIR/unused_braces_borrow.rs:4:9
ba9703b0
XL
9 |
10LL | #![warn(unused_braces)]
11 | ^^^^^^^^^^^^^
c295e0f8
XL
12help: remove these braces
13 |
14LL - consume({ a.b });
15LL + consume(a.b);
923072b8 16 |
ba9703b0
XL
17
18warning: 1 warning emitted
19