fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
189 B12 linesraw
1error: rustc_outlives
2  --> $DIR/infer-static.rs:5:1
3   |
4LL | / struct Foo<U> {
5LL | |     bar: Bar<U>
6LL | | }
7   | |_^
8   |
9   = note: U: 'static
10
11error: aborting due to previous error
12