fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
247 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