fork/rust

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

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

1.44.0
589 B18 linesraw
1warning: the feature `const_generics` is incomplete and may cause the compiler to crash
2  --> $DIR/issue-62187-encountered-polymorphic-const.rs:3:12
3   |
4LL | #![feature(const_generics)]
5   |            ^^^^^^^^^^^^^^
6   |
7   = note: `#[warn(incomplete_features)]` on by default
8
9warning: unused variable: `foo`
10  --> $DIR/issue-62187-encountered-polymorphic-const.rs:15:9
11   |
12LL |     let foo = <[u8; 2]>::BIT_LEN;
13   |         ^^^ help: if this is intentional, prefix it with an underscore: `_foo`
14   |
15   = note: `#[warn(unused_variables)]` on by default
16
17warning: 2 warnings emitted
18