warning: the feature `const_generics` is incomplete and may cause the compiler to crash --> $DIR/unused_braces.rs:4:12 | LL | #![feature(const_generics)] | ^^^^^^^^^^^^^^ | = note: `#[warn(incomplete_features)]` on by default warning: unnecessary braces around const expression --> $DIR/unused_braces.rs:11:14 | LL | let _: A<{ 7 }>; | ^^^^^ help: remove these braces | note: the lint level is defined here --> $DIR/unused_braces.rs:2:9 | LL | #![warn(unused_braces)] | ^^^^^^^^^^^^^ warning: 2 warnings emitted