]> git.proxmox.com Git - rustc.git/blame - src/test/ui/const-generics/issues/issue-62187-encountered-polymorphic-const.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / const-generics / issues / issue-62187-encountered-polymorphic-const.stderr
CommitLineData
e74abb32
XL
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;
ba9703b0 13 | ^^^ help: if this is intentional, prefix it with an underscore: `_foo`
e74abb32
XL
14 |
15 = note: `#[warn(unused_variables)]` on by default
16
ba9703b0
XL
17warning: 2 warnings emitted
18