]>
Commit | Line | Data |
---|---|---|
416331ca XL |
1 | error: lifetime parameters must be declared prior to type parameters |
2 | --> $DIR/issue-59508-1.rs:12:25 | |
3 | | | |
4 | LL | pub fn do_things<T, 'a, 'b: 'a>() { | |
5 | | ----^^--^^----- help: reorder the parameters: lifetimes, then types, then consts: `<'a, 'b: 'a, T>` | |
6 | ||
532ac7d7 XL |
7 | warning: the feature `const_generics` is incomplete and may cause the compiler to crash |
8 | --> $DIR/issue-59508-1.rs:2:12 | |
9 | | | |
10 | LL | #![feature(const_generics)] | |
11 | | ^^^^^^^^^^^^^^ | |
532ac7d7 | 12 | | |
416331ca | 13 | = note: `#[warn(incomplete_features)]` on by default |
532ac7d7 | 14 | |
ba9703b0 | 15 | error: aborting due to previous error; 1 warning emitted |
532ac7d7 | 16 |