// Test sized-ness checking in substitution in impls. // impl - unbounded trait T2 { fn foo(&self, z: Z); } struct S4(Box); impl T2 for S4 { //~^ ERROR the size for values of type } fn main() { }