summaryrefslogtreecommitdiffstats
path: root/tests/ui/packed/issue-27060-2.rs
blob: a001ce1e0ac138490b05304887a9ae8084278188 (plain)
1
2
3
4
5
6
#[repr(packed)]
pub struct Bad<T: ?Sized> {
    data: T, //~ ERROR the size for values of type
}

fn main() {}