blob: 00b89528865a9dc16711793e79399e1842ab28a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![feature(rustc_attrs)]
trait Trait<'x, T> where T: 'x {
type Type;
}
#[rustc_outlives]
struct Foo<'a, A, B> where A: Trait<'a, B> //~ ERROR rustc_outlives
{
foo: <A as Trait<'a, B>>::Type
}
fn main() {}
|