]>
Commit | Line | Data |
---|---|---|
1 | warning: the feature `lazy_normalization_consts` is incomplete and may not be safe to use and/or cause compiler crashes | |
2 | --> $DIR/promoted-function-2.rs:4:12 | |
3 | | | |
4 | LL | #![feature(lazy_normalization_consts, rustc_attrs)] | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
6 | | | |
7 | = note: `#[warn(incomplete_features)]` on by default | |
8 | = note: see issue #72219 <https://github.com/rust-lang/rust/issues/72219> for more information | |
9 | ||
10 | error: item has unused generic parameters | |
11 | --> $DIR/promoted-function-2.rs:8:4 | |
12 | | | |
13 | LL | fn test<T>() { | |
14 | | ^^^^ - generic parameter `T` is unused | |
15 | ||
16 | error: aborting due to previous error; 1 warning emitted | |
17 |