blob: fb4835ae2d8bf2cb408a088e7b7ebc0a7559a400 [file] [log] [blame]
error: rustc_outlives
--> $DIR/projection.rs:14:1
|
LL | / struct Foo<'a, T: Iterator> { //~ ERROR rustc_outlives
LL | | bar: &'a T::Item
LL | | }
| |_^
|
= note: <T as std::iter::Iterator>::Item : 'a
error: aborting due to previous error