2019-07-28 19:01:57 -05:00
|
|
|
error: lifetime parameters must be declared prior to type parameters
|
|
|
|
--> $DIR/issue-59508-1.rs:12:25
|
|
|
|
|
|
|
|
|
LL | pub fn do_things<T, 'a, 'b: 'a>() {
|
|
|
|
| ----^^--^^----- help: reorder the parameters: lifetimes, then types, then consts: `<'a, 'b: 'a, T>`
|
|
|
|
|
2019-03-30 14:57:04 -05:00
|
|
|
warning: the feature `const_generics` is incomplete and may cause the compiler to crash
|
|
|
|
--> $DIR/issue-59508-1.rs:2:12
|
|
|
|
|
|
|
|
|
LL | #![feature(const_generics)]
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2019-07-28 19:01:57 -05:00
|
|
|
= note: `#[warn(incomplete_features)]` on by default
|
2019-03-30 14:57:04 -05:00
|
|
|
|
2020-03-11 10:30:09 -05:00
|
|
|
error: aborting due to previous error; 1 warning emitted
|
2019-03-30 14:57:04 -05:00
|
|
|
|