]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/attribute-typos.stderr
Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelid
[rust.git] / src / test / ui / suggestions / attribute-typos.stderr
1 error: 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 error: cannot find attribute `rustc_err` in this scope
8   --> $DIR/attribute-typos.rs:7:3
9    |
10 LL | #[rustc_err]
11    |   ^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_error`
12
13 error: cannot find attribute `tests` in this scope
14   --> $DIR/attribute-typos.rs:4:3
15    |
16 LL | #[tests]
17    |   ^^^^^ help: an attribute macro with a similar name exists: `test`
18    |
19   ::: $SRC_DIR/core/src/macros/mod.rs:LL:COL
20    |
21 LL |     pub macro test($item:item) {
22    |     -------------------------- similarly named attribute macro `test` defined here
23
24 error: cannot find attribute `deprcated` in this scope
25   --> $DIR/attribute-typos.rs:1:3
26    |
27 LL | #[deprcated]
28    |   ^^^^^^^^^ help: a built-in attribute with a similar name exists: `deprecated`
29
30 error: aborting due to 4 previous errors
31