]> git.lizzy.rs Git - rust.git/blob - src/test/ui/repr/repr-align-assign.fixed
Auto merge of #103600 - compiler-errors:early-binder-nits, r=spastorino
[rust.git] / src / test / ui / repr / repr-align-assign.fixed
1 // run-rustfix
2
3 #![allow(dead_code)]
4
5 #[repr(align(8))] //~ ERROR incorrect `repr(align)` attribute format
6                  //~| ERROR incorrect `repr(align)` attribute format
7 struct A(u64);
8
9 #[repr(align(8))] //~ ERROR incorrect `repr(align)` attribute format
10                    //~| ERROR incorrect `repr(align)` attribute format
11 struct B(u64);
12
13 fn main() {}