2019-06-30 05:00:45 -05:00
|
|
|
error[E0658]: attributes starting with `rustc` are reserved for use by the `rustc` compiler
|
|
|
|
--> $DIR/attribute-typos.rs:7:3
|
|
|
|
|
|
|
|
|
LL | #[rustc_err]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
|
2019-07-09 04:32:08 -05:00
|
|
|
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
2019-06-30 05:00:45 -05:00
|
|
|
|
2019-09-15 04:55:18 -05:00
|
|
|
error: cannot find attribute `rustc_err` in this scope
|
2019-06-29 06:06:22 -05:00
|
|
|
--> $DIR/attribute-typos.rs:7:3
|
2019-01-25 13:29:47 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[rustc_err]
|
2019-07-11 18:29:28 -05:00
|
|
|
| ^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_error`
|
2019-01-25 13:29:47 -06:00
|
|
|
|
2019-09-15 04:55:18 -05:00
|
|
|
error: cannot find attribute `tests` in this scope
|
2019-06-29 06:06:22 -05:00
|
|
|
--> $DIR/attribute-typos.rs:4:3
|
2019-01-25 13:29:47 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[tests]
|
2019-07-11 18:29:28 -05:00
|
|
|
| ^^^^^ help: an attribute macro with a similar name exists: `test`
|
2019-10-14 19:20:50 -05:00
|
|
|
|
|
|
|
|
::: $SRC_DIR/libcore/macros.rs:LL:COL
|
|
|
|
|
|
|
|
|
LL | pub macro test($item:item) { /* compiler built-in */ }
|
2019-10-28 16:48:49 -05:00
|
|
|
| -------------------------- similarly named attribute macro `test` defined here
|
2019-01-25 13:29:47 -06:00
|
|
|
|
2019-09-15 04:55:18 -05:00
|
|
|
error: cannot find attribute `deprcated` in this scope
|
2019-01-25 13:29:47 -06:00
|
|
|
--> $DIR/attribute-typos.rs:1:3
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[deprcated]
|
2019-07-11 18:29:28 -05:00
|
|
|
| ^^^^^^^^^ help: a built-in attribute with a similar name exists: `deprecated`
|
2019-01-25 13:29:47 -06:00
|
|
|
|
2019-06-30 05:00:45 -05:00
|
|
|
error: aborting due to 4 previous errors
|
2019-01-25 13:29:47 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|