blob: 603c0a221ec0246daa8f8e4ef924a5b9a0ab594d [file] [log] [blame]
// Test sized-ness checking in substitution in impls.
// impl - struct
trait T3<Z: ?Sized> {
fn foo(&self, z: &Z);
}
struct S5<Y>(Y);
impl<X: ?Sized> T3<X> for S5<X> {
//~^ ERROR the size for values of type
//~| ERROR not all trait items implemented
}
fn main() { }