rust/src/test/ui/issues/issue-22434.rs
2018-12-25 21:08:33 -07:00

9 lines
163 B
Rust

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