// Test sized-ness checking in substitution in impls. // impl - struct trait T3 { fn foo(&self, z: &Z); } struct S5(Y); impl T3 for S5 { //~^ ERROR the size for values of type //~| ERROR not all trait items implemented } fn main() { }