fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
198 B12 linesraw
1error: rustc_outlives
2  --> $DIR/nested-structs.rs:4:1
3   |
4LL | / struct Foo<'a, T> {
5LL | |     field1: Bar<'a, T>
6LL | | }
7   | |_^
8   |
9   = note: T : 'a
10
11error: aborting due to previous error
12