]>
Commit | Line | Data |
---|---|---|
e74abb32 XL |
1 | warning: the feature `const_generics` is incomplete and may cause the compiler to crash |
2 | --> $DIR/issue-62187-encountered-polymorphic-const.rs:3:12 | |
3 | | | |
4 | LL | #![feature(const_generics)] | |
5 | | ^^^^^^^^^^^^^^ | |
6 | | | |
7 | = note: `#[warn(incomplete_features)]` on by default | |
8 | ||
9 | warning: unused variable: `foo` | |
10 | --> $DIR/issue-62187-encountered-polymorphic-const.rs:15:9 | |
11 | | | |
12 | LL | 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 |
17 | warning: 2 warnings emitted |
18 |