fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: anonymous structs are not allowed outside of unnamed struct or union fields 2 --> $DIR/restrict_anonymous_structs.rs:5:12 3 | 4LL | field: struct { field: u8 }, 5 | ^^^^^^^^^^^^^^^^^^^^ anonymous struct declared here 6 7error: unnamed fields can only have struct or union types 8 --> $DIR/restrict_anonymous_structs.rs:12:5 9 | 10LL | _: (u8, u8), 11 | ^ -------- not a struct or union 12 13error: anonymous structs are not allowed outside of unnamed struct or union fields 14 --> $DIR/restrict_anonymous_structs.rs:16:12 15 | 16LL | field: struct { field: u8 }, 17 | ^^^^^^^^^^^^^^^^^^^^ anonymous struct declared here 18 19error: unnamed fields can only have struct or union types 20 --> $DIR/restrict_anonymous_structs.rs:23:5 21 | 22LL | _: (u8, u8), 23 | ^ -------- not a struct or union 24 25error: unnamed fields are not allowed outside of structs or unions 26 --> $DIR/restrict_anonymous_structs.rs:28:9 27 | 28LL | _ : struct { field: u8 }, 29 | -^^^^^^^^^^^^^^^^^^^^^^^ 30 | | 31 | unnamed field declared here 32 33error: anonymous structs are not allowed outside of unnamed struct or union fields 34 --> $DIR/restrict_anonymous_structs.rs:28:13 35 | 36LL | _ : struct { field: u8 }, 37 | ^^^^^^^^^^^^^^^^^^^^ anonymous struct declared here 38 39error: unnamed fields are not allowed outside of structs or unions 40 --> $DIR/restrict_anonymous_structs.rs:33:9 41 | 42LL | _ : u8, 43 | -^^^^^ 44 | | 45 | unnamed field declared here 46 47error: anonymous structs are unimplemented 48 --> $DIR/restrict_anonymous_structs.rs:5:12 49 | 50LL | field: struct { field: u8 }, 51 | ^^^^^^^^^^^^^^^^^^^^ 52 53error: anonymous structs are unimplemented 54 --> $DIR/restrict_anonymous_structs.rs:7:8 55 | 56LL | _: struct { field: u8 }, 57 | ^^^^^^^^^^^^^^^^^^^^ 58 59error: anonymous structs are unimplemented 60 --> $DIR/restrict_anonymous_structs.rs:16:12 61 | 62LL | field: struct { field: u8 }, 63 | ^^^^^^^^^^^^^^^^^^^^ 64 65error: anonymous structs are unimplemented 66 --> $DIR/restrict_anonymous_structs.rs:18:8 67 | 68LL | _: struct { field: u8 }, 69 | ^^^^^^^^^^^^^^^^^^^^ 70 71error: anonymous structs are unimplemented 72 --> $DIR/restrict_anonymous_structs.rs:28:13 73 | 74LL | _ : struct { field: u8 }, 75 | ^^^^^^^^^^^^^^^^^^^^ 76 77error: aborting due to 12 previous errors 78