fork/rust

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

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

master
681 B26 linesraw
1error: `#[macro_use]` only has an effect on `extern crate` and modules
2  --> $DIR/unused-attr-macro-rules.rs:7:1
3   |
4LL | #[macro_use]
5   | ^^^^^^^^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/unused-attr-macro-rules.rs:1:9
9   |
10LL | #![deny(unused_attributes)]
11   |         ^^^^^^^^^^^^^^^^^
12
13error: `#[path]` only has an effect on modules
14  --> $DIR/unused-attr-macro-rules.rs:8:1
15   |
16LL | #[path="foo"]
17   | ^^^^^^^^^^^^^
18
19error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
20  --> $DIR/unused-attr-macro-rules.rs:9:1
21   |
22LL | #[recursion_limit="1"]
23   | ^^^^^^^^^^^^^^^^^^^^^^
24
25error: aborting due to 3 previous errors
26