summary refs log tree commit diff
path: root/src/test/ui/issues/issue-22434.rs
blob: 3e800a2b61db94edcfcc18cef26e8a84a44876b9 (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 the trait `Foo`) must be specified

fn main() {}