blob: 553a3a0f88ebae22e415562ff78016bcef43657b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
warning: unnecessary braces around const expression
--> $DIR/unused_braces.rs:9:14
|
LL | let _: A<{ 7 }>;
| ^^ ^^
|
note: the lint level is defined here
--> $DIR/unused_braces.rs:3:9
|
LL | #![warn(unused_braces)]
| ^^^^^^^^^^^^^
help: remove these braces
|
LL - let _: A<{ 7 }>;
LL + let _: A<7>;
|
warning: 1 warning emitted
|