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

14 lines
247 B
Plaintext
Raw Normal View History

error: rustc_outlives
2018-12-25 08:56:47 -07:00
--> $DIR/explicit-projection.rs:8:1
|
2019-03-09 15:03:44 +03:00
LL | / struct Foo<'a, A, B> where A: Trait<'a, B>
LL | | {
LL | | foo: <A as Trait<'a, B>>::Type
LL | | }
| |_^
|
= note: B : 'a
error: aborting due to previous error