1 error: malformed `repr` attribute input
2 --> $DIR/issue-43988.rs:24:5
5 | ^^^^^^^ help: must be of the form: `#[repr(C)]`
7 error: malformed `repr` attribute input
8 --> $DIR/issue-43988.rs:34:14
10 LL | let _z = #[repr] 1;
11 | ^^^^^^^ help: must be of the form: `#[repr(C)]`
13 error[E0518]: attribute should be applied to function or closure
14 --> $DIR/issue-43988.rs:5:5
19 | ----------- not a function or closure
21 error[E0518]: attribute should be applied to function or closure
22 --> $DIR/issue-43988.rs:10:5
27 | ----------- not a function or closure
29 error[E0552]: unrecognized representation hint
30 --> $DIR/issue-43988.rs:14:12
35 = help: valid reprs are `C`, `align`, `packed`, `transparent`, `simd`, `i8`, `u8`, `i16`, `u16`, `i32`, `u32`, `i64`, `u64`, `i128`, `u128`, `isize`, `usize`
37 error[E0552]: unrecognized representation hint
38 --> $DIR/issue-43988.rs:18:12
40 LL | #[repr(something_not_real)]
43 = help: valid reprs are `C`, `align`, `packed`, `transparent`, `simd`, `i8`, `u8`, `i16`, `u16`, `i32`, `u32`, `i64`, `u64`, `i128`, `u128`, `isize`, `usize`
45 error[E0518]: attribute should be applied to function or closure
46 --> $DIR/issue-43988.rs:30:5
51 | ----- not a function or closure
53 error: aborting due to 7 previous errors
55 Some errors have detailed explanations: E0518, E0552.
56 For more information about an error, try `rustc --explain E0518`.