fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

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