rust/src/test/ui/rfc-2093-infer-outlives/explicit-projection.stderr

14 lines
273 B
Plaintext
Raw Normal View History

error: rustc_outlives
--> $DIR/explicit-projection.rs:19:1
|
LL | / struct Foo<'a, A, B> where A: Trait<'a, B> //~ ERROR rustc_outlives
LL | | {
LL | | foo: <A as Trait<'a, B>>::Type
LL | | }
| |_^
|
= note: B : 'a
error: aborting due to previous error