summary refs log tree commit diff
path: root/src/test/ui/issues/issue-22434.rs
blob: 0d7d67cbc1bc26aa81fea3a21cb164e7590b315f (plain)
1
2
3
4
5
6
7
8
pub trait Foo {
    type A;
}

type I<'a> = &'a (Foo + 'a);
//~^ ERROR the value of the associated type `A` (from the trait `Foo`) must be specified

fn main() {}