// Test sized-ness checking in substitution in impls. trait T {} // I would like these to fail eventually. // impl - bounded trait T1 { fn dummy(&self) -> Z; } struct S3(Box); impl T1 for S3 { //~^ ERROR the size for values of type } fn main() { }