fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
704 B21 linesraw
1error: cannot determine resolution for the attribute macro `derive`
2  --> $DIR/issue-43927-non-ADT-derive.rs:1:4
3   |
4LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute!
5   |    ^^^^^^
6   |
7   = note: import resolution is stuck, try simplifying macro imports
8
9error: `derive` attribute cannot be used at crate level
10  --> $DIR/issue-43927-non-ADT-derive.rs:1:1
11   |
12LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute!
13   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14   |
15help: perhaps you meant to use an outer attribute
16   |
17LL | #[derive(Debug, PartialEq, Eq)] // should be an outer attribute!
18   | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19
20error: aborting due to 2 previous errors
21