]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2093-infer-outlives/explicit-projection.stderr
Auto merge of #57129 - RalfJung:check-bounds, r=oli-obk
[rust.git] / src / test / ui / rfc-2093-infer-outlives / explicit-projection.stderr
1 error: rustc_outlives
2   --> $DIR/explicit-projection.rs:8:1
3    |
4 LL | / struct Foo<'a, A, B> where A: Trait<'a, B> //~ ERROR rustc_outlives
5 LL | | {
6 LL | |     foo: <A as Trait<'a, B>>::Type
7 LL | | }
8    | |_^
9    |
10    = note: B : 'a
11
12 error: aborting due to previous error
13