rust/src/test/ui/issues/issue-22434.rs
2019-05-29 00:57:31 -04:00

8 lines
167 B
Rust

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() {}