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