fork/rust

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

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

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