fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error: `derive` may only be applied to structs, enums and unions 2 --> $DIR/issue-43927-non-ADT-derive.rs:3:1 3 | 4LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute! 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Debug, PartialEq, Eq)]` 6 7error: cannot determine resolution for the derive macro `Debug` 8 --> $DIR/issue-43927-non-ADT-derive.rs:3:11 9 | 10LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute! 11 | ^^^^^ 12 | 13 = note: import resolution is stuck, try simplifying macro imports 14 15error: cannot determine resolution for the derive macro `PartialEq` 16 --> $DIR/issue-43927-non-ADT-derive.rs:3:18 17 | 18LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute! 19 | ^^^^^^^^^ 20 | 21 = note: import resolution is stuck, try simplifying macro imports 22 23error: cannot determine resolution for the derive macro `Eq` 24 --> $DIR/issue-43927-non-ADT-derive.rs:3:29 25 | 26LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute! 27 | ^^ 28 | 29 = note: import resolution is stuck, try simplifying macro imports 30 31error: aborting due to 4 previous errors 32