fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
545 B16 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: consider prefixing with an underscore: `_foo`
14   |
15   = note: `#[warn(unused_variables)]` on by default
16