mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-01 00:36:54 +00:00

Right now it's used for functions with `fn_align`, in the future it will get more uses (statics, struct fields, etc.)
6 lines
120 B
Rust
6 lines
120 B
Rust
#[repr(align(16))]
|
|
//~^ ERROR attribute should be applied to a struct, enum, or union
|
|
pub type Foo = i32;
|
|
|
|
fn main() {}
|