1 // revisions: base extended
3 #![cfg_attr(extended, feature(generic_associated_types_extended))]
4 #![cfg_attr(extended, allow(incomplete_features))]
6 trait CollectionFamily {
10 Box::new(Family) as &dyn CollectionFamily<Member=usize>
11 //~^ ERROR: missing generics for associated type
12 //[base]~^^ ERROR: the trait `CollectionFamily` cannot be made into an object