]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/attribute-typos.stderr
Rollup merge of #65276 - varkor:toolstate-no-ping, r=Mark-Simulacrum
[rust.git] / src / test / ui / suggestions / attribute-typos.stderr
1 error[E0658]: attributes starting with `rustc` are reserved for use by the `rustc` compiler
2   --> $DIR/attribute-typos.rs:7:3
3    |
4 LL | #[rustc_err]
5    |   ^^^^^^^^^
6    |
7    = note: for more information, see https://github.com/rust-lang/rust/issues/29642
8    = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
9
10 error: cannot find attribute `rustc_err` in this scope
11   --> $DIR/attribute-typos.rs:7:3
12    |
13 LL | #[rustc_err]
14    |   ^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_error`
15
16 error: cannot find attribute `tests` in this scope
17   --> $DIR/attribute-typos.rs:4:3
18    |
19 LL | #[tests]
20    |   ^^^^^ help: an attribute macro with a similar name exists: `test`
21
22 error: cannot find attribute `deprcated` in this scope
23   --> $DIR/attribute-typos.rs:1:3
24    |
25 LL | #[deprcated]
26    |   ^^^^^^^^^ help: a built-in attribute with a similar name exists: `deprecated`
27
28 error: aborting due to 4 previous errors
29
30 For more information about this error, try `rustc --explain E0658`.