rust/tests/ui/packed/issue-27060-2.rs

7 lines
111 B
Rust

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