]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/attribute-typos.stderr
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[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:11:3
3    |
4 LL | #[rustc_err]
5    |   ^^^^^^^^^
6    |
7    = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
8
9 error: cannot find attribute `rustc_err` in this scope
10   --> $DIR/attribute-typos.rs:11:3
11    |
12 LL | #[rustc_err]
13    |   ^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_error`
14
15 error: cannot find attribute `tests` in this scope
16   --> $DIR/attribute-typos.rs:8:3
17    |
18 LL | #[tests]
19    |   ^^^^^ help: an attribute macro with a similar name exists: `test`
20    | 
21   ::: $SRC_DIR/libcore/macros/mod.rs:LL:COL
22    |
23 LL |     pub macro test($item:item) {
24    |     -------------------------- similarly named attribute macro `test` defined here
25
26 error: cannot find attribute `deprcated` in this scope
27   --> $DIR/attribute-typos.rs:5:3
28    |
29 LL | #[deprcated]
30    |   ^^^^^^^^^ help: a built-in attribute with a similar name exists: `deprecated`
31
32 error: aborting due to 4 previous errors
33
34 For more information about this error, try `rustc --explain E0658`.