rust/tests/ui/rfcs/rfc-2093-infer-outlives/projection.stderr

11 lines
208 B
Plaintext

error: rustc_outlives
--> $DIR/projection.rs:4:1
|
LL | struct Foo<'a, T: Iterator> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: <T as Iterator>::Item: 'a
error: aborting due to 1 previous error