2020-03-24 12:41:16 -05:00
|
|
|
error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
|
2020-03-31 20:10:13 -05:00
|
|
|
--> $DIR/attribute-typos.rs:7:3
|
2019-06-30 05:00:45 -05:00
|
|
|
|
|
|
|
|
LL | #[rustc_err]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2019-09-15 04:55:18 -05:00
|
|
|
error: cannot find attribute `rustc_err` in this scope
|
2020-03-31 20:10:13 -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
|
2020-03-31 20:10:13 -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
|
|
|
|
|
2020-06-11 21:31:49 -05:00
|
|
|
::: $SRC_DIR/core/src/macros/mod.rs:LL:COL
|
2019-10-14 19:20:50 -05:00
|
|
|
|
|
2020-01-07 14:59:24 -06:00
|
|
|
LL | pub macro test($item:item) {
|
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
|
2020-03-31 20:10:13 -05:00
|
|
|
--> $DIR/attribute-typos.rs:1:3
|
2019-01-25 13:29:47 -06:00
|
|
|
|
|
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
|
|
|
|