rust/tests/ui/packed/issue-27060-2.rs
2023-01-11 09:32:08 +00:00

7 lines
111 B
Rust

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