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

7 lines
111 B
Rust
Raw Normal View History

#[repr(packed)]
pub struct Bad<T: ?Sized> {
2018-07-10 21:10:13 +00:00
data: T, //~ ERROR the size for values of type
}
fn main() {}