mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 05:04:24 +00:00
20 lines
389 B
Plaintext
20 lines
389 B
Plaintext
warning: unnecessary braces around const expression
|
|
--> $DIR/unused_braces.rs:15: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
|
|
|