fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
584 B22 linesraw
1warning: the feature `const_generics` is incomplete and may cause the compiler to crash
2  --> $DIR/unused_braces.rs:4:12
3   |
4LL | #![feature(const_generics)]
5   |            ^^^^^^^^^^^^^^
6   |
7   = note: `#[warn(incomplete_features)]` on by default
8
9warning: unnecessary braces around const expression
10  --> $DIR/unused_braces.rs:11:14
11   |
12LL |     let _: A<{ 7 }>;
13   |              ^^^^^ help: remove these braces
14   |
15note: the lint level is defined here
16  --> $DIR/unused_braces.rs:2:9
17   |
18LL | #![warn(unused_braces)]
19   |         ^^^^^^^^^^^^^
20
21warning: 2 warnings emitted
22