fork/rust

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

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

master
1.4 KiB47 linesraw
1error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
2  --> $DIR/feature-gate-rustc-attrs.rs:8:3
3   |
4LL | #[rustc::unknown]
5   |   ^^^^^
6
7error: expected attribute, found macro `rustc::unknown`
8  --> $DIR/feature-gate-rustc-attrs.rs:8:3
9   |
10LL | #[rustc::unknown]
11   |   ^^^^^^^^^^^^^^ not an attribute
12
13error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
14  --> $DIR/feature-gate-rustc-attrs.rs:13:12
15   |
16LL | #[unknown::rustc]
17   |            ^^^^^
18
19error: expected attribute, found macro `unknown::rustc`
20  --> $DIR/feature-gate-rustc-attrs.rs:13:3
21   |
22LL | #[unknown::rustc]
23   |   ^^^^^^^^^^^^^^ not an attribute
24
25error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
26  --> $DIR/feature-gate-rustc-attrs.rs:20:3
27   |
28LL | #[rustc_unknown]
29   |   ^^^^^^^^^^^^^
30
31error: cannot find attribute `rustc_unknown` in this scope
32  --> $DIR/feature-gate-rustc-attrs.rs:20:3
33   |
34LL | #[rustc_unknown]
35   |   ^^^^^^^^^^^^^
36
37error[E0658]: the `#[rustc_dummy]` attribute is just used for rustc unit tests and will never be stable
38  --> $DIR/feature-gate-rustc-attrs.rs:18:1
39   |
40LL | #[rustc_dummy]
41   | ^^^^^^^^^^^^^^
42   |
43   = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
44
45error: aborting due to 7 previous errors
46
47For more information about this error, try `rustc --explain E0658`.