2016-06-18 18:43:44 -04:00
|
|
|
pub trait Foo {
|
|
|
|
|
type A;
|
|
|
|
|
}
|
|
|
|
|
|
2019-05-28 14:46:13 -04:00
|
|
|
type I<'a> = &'a (dyn Foo + 'a);
|
2023-10-04 01:10:51 +00:00
|
|
|
//~^ ERROR the value of the associated type `A` in `Foo` must be specified
|
2016-06-18 18:43:44 -04:00
|
|
|
|
|
|
|
|
fn main() {}
|