blob: b655a2a8f63a22086d756f994cbd917848614115 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// aux-build:unaligned_references_external_crate.rs
extern crate unaligned_references_external_crate;
unaligned_references_external_crate::mac! { //~ERROR reference to packed field is unaligned
#[repr(packed)]
pub struct X {
pub field: u16
}
}
fn main() {}
|