summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-22434.rs
blob: 34057b46ecd4299844de3c20b64900824b54185c (plain)
1
2
3
4
5
6
7
8
pub trait Foo {
    type A;
}

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

fn main() {}