]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/unused_braces.full.stderr
Auto merge of #79342 - CDirkx:ipaddr-const, r=oli-obk
[rust.git] / src / test / ui / const-generics / unused_braces.full.stderr
1 warning: unnecessary braces around const expression
2   --> $DIR/unused_braces.rs:15:14
3    |
4 LL |     let _: A<{ 7 }>;
5    |              ^^^^^ help: remove these braces
6    |
7 note: the lint level is defined here
8   --> $DIR/unused_braces.rs:8:9
9    |
10 LL | #![warn(unused_braces)]
11    |         ^^^^^^^^^^^^^
12
13 warning: 1 warning emitted
14