rust/src/test/ui/const-generics/unused_braces.min.stderr

15 lines
331 B
Plaintext
Raw Normal View History

warning: unnecessary braces around const expression
2020-11-17 04:44:21 -06:00
--> $DIR/unused_braces.rs:14:14
|
LL | let _: A<{ 7 }>;
| ^^^^^ help: remove these braces
|
note: the lint level is defined here
2020-11-17 04:44:21 -06:00
--> $DIR/unused_braces.rs:7:9
|
LL | #![warn(unused_braces)]
| ^^^^^^^^^^^^^
warning: 1 warning emitted