fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
196 B13 linesraw
1error: rustc_outlives
2  --> $DIR/nested-enum.rs:4:1
3   |
4LL | / enum Foo<'a, T> {
5LL | |
6LL | |     One(Bar<'a, T>)
7LL | | }
8   | |_^
9   |
10   = note: T: 'a
11
12error: aborting due to previous error
13