1 // revisions: base extended
3 //[extended] check-pass
5 #![feature(generic_associated_types)]
6 #![cfg_attr(extended, feature(generic_associated_types_extended))]
7 #![cfg_attr(extended, allow(incomplete_features))]
13 fn _func1<'a>(_x: Box<dyn X<Y<'a>=&'a ()>>) {}
14 //[base]~^ ERROR the trait `X` cannot be made into an object