1 #![feature(associated_type_defaults)]
11 impl Assoc for dyn Dyn {}
15 //~^ WARN trait objects without an explicit `dyn` are deprecated
16 //~| WARN this is accepted in the current edition
18 //~^ WARN trait objects without an explicit `dyn` are deprecated
19 //~| WARN this is accepted in the current edition
21 //~^ WARN trait objects without an explicit `dyn` are deprecated
22 //~| WARN this is accepted in the current edition
23 let _: Dyn::Ty; //~ ERROR ambiguous associated type