]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-rustc-attrs.stderr
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / feature-gate-rustc-attrs.stderr
1 error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
2   --> $DIR/feature-gate-rustc-attrs.rs:8:3
3    |
4 LL | #[rustc::unknown]
5    |   ^^^^^
6
7 error: expected attribute, found macro `rustc::unknown`
8   --> $DIR/feature-gate-rustc-attrs.rs:8:3
9    |
10 LL | #[rustc::unknown]
11    |   ^^^^^^^^^^^^^^ not an attribute
12
13 error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
14   --> $DIR/feature-gate-rustc-attrs.rs:13:12
15    |
16 LL | #[unknown::rustc]
17    |            ^^^^^
18
19 error: expected attribute, found macro `unknown::rustc`
20   --> $DIR/feature-gate-rustc-attrs.rs:13:3
21    |
22 LL | #[unknown::rustc]
23    |   ^^^^^^^^^^^^^^ not an attribute
24
25 error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
26   --> $DIR/feature-gate-rustc-attrs.rs:20:3
27    |
28 LL | #[rustc_unknown]
29    |   ^^^^^^^^^^^^^
30
31 error: cannot find attribute `rustc_unknown` in this scope
32   --> $DIR/feature-gate-rustc-attrs.rs:20:3
33    |
34 LL | #[rustc_unknown]
35    |   ^^^^^^^^^^^^^
36
37 error[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    |
40 LL | #[rustc_dummy]
41    | ^^^^^^^^^^^^^^
42    |
43    = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
44
45 error: aborting due to 7 previous errors
46
47 For more information about this error, try `rustc --explain E0658`.