fork/rust

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

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

master
638 B22 linesraw
1error: expected derive macro, found tool attribute `rustfmt::skip`
2  --> $DIR/tool-attributes-misplaced-2.rs:1:10
3   |
4LL | #[derive(rustfmt::skip)]
5   |          ^^^^^^^^^^^^^ not a derive macro
6   |
7help: remove from the surrounding `derive()`
8  --> $DIR/tool-attributes-misplaced-2.rs:1:10
9   |
10LL | #[derive(rustfmt::skip)]
11   |          ^^^^^^^^^^^^^
12   = help: add as non-Derive macro
13           `#[rustfmt::skip]`
14
15error: expected macro, found tool attribute `rustfmt::skip`
16  --> $DIR/tool-attributes-misplaced-2.rs:5:5
17   |
18LL |     rustfmt::skip!();
19   |     ^^^^^^^^^^^^^ not a macro
20
21error: aborting due to 2 previous errors
22