1 2 3 4 5 6
#[repr(packed)] pub struct Bad<T: ?Sized> { data: T, //~ ERROR the size for values of type } fn main() {}