fork/rust

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

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

1.43.0
232 B12 linesraw
1error: rustc_outlives
2  --> $DIR/projection.rs:4:1
3   |
4LL | / struct Foo<'a, T: Iterator> {
5LL | |     bar: &'a T::Item
6LL | | }
7   | |_^
8   |
9   = note: <T as std::iter::Iterator>::Item: 'a
10
11error: aborting due to previous error
12