fork/rust

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

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

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