summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-22434.rs
blob: d9f7b987c64fed8672ad1cdc0b68e4ced9128bb8 (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` in `Foo` must be specified

fn main() {}