fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
246 B13 linesraw
1error: rustc_outlives
2  --> $DIR/explicit-projection.rs:8:1
3   |
4LL | / struct Foo<'a, A, B> where A: Trait<'a, B>
5LL | | {
6LL | |     foo: <A as Trait<'a, B>>::Type
7LL | | }
8   | |_^
9   |
10   = note: B: 'a
11
12error: aborting due to previous error
13