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 21:10:13 +00:00
data: T, //~ ERROR the size for values of type
}
fn main() {}