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