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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
111 B
Rust
Raw Normal View History

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