#![feature(associated_type_defaults)] // Tests that `Self` is not assumed to implement `Sized` when used as an // associated type default. trait Inner {} trait MyTrait { type This = Self; //~ error: size for values of type `Self` cannot be known fn something>(i: I); } fn main() {}