2020-03-24 20:41:16 +03:00
|
|
|
error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
|
2020-04-01 04:10:13 +03:00
|
|
|
--> $DIR/attribute-typos.rs:7:3
|
2019-06-30 13:00:45 +03:00
|
|
|
|
|
|
|
|
LL | #[rustc_err]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2019-09-15 12:55:18 +03:00
|
|
|
error: cannot find attribute `rustc_err` in this scope
|
2020-04-01 04:10:13 +03:00
|
|
|
--> $DIR/attribute-typos.rs:7:3
|
2019-01-25 14:29:47 -05:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[rustc_err]
|
2019-07-12 02:29:28 +03:00
|
|
|
| ^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_error`
|
2019-01-25 14:29:47 -05:00
|
|
|
|
2019-09-15 12:55:18 +03:00
|
|
|
error: cannot find attribute `tests` in this scope
|
2020-04-01 04:10:13 +03:00
|
|
|
--> $DIR/attribute-typos.rs:4:3
|
2019-01-25 14:29:47 -05:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[tests]
|
2019-07-12 02:29:28 +03:00
|
|
|
| ^^^^^ help: an attribute macro with a similar name exists: `test`
|
2022-12-09 15:56:23 +00:00
|
|
|
--> $SRC_DIR/core/src/macros/mod.rs:LL:COL
|
2021-06-10 13:52:00 +02:00
|
|
|
|
|
2022-12-09 15:56:23 +00:00
|
|
|
= note: similarly named attribute macro `test` defined here
|
2019-01-25 14:29:47 -05:00
|
|
|
|
2019-09-15 12:55:18 +03:00
|
|
|
error: cannot find attribute `deprcated` in this scope
|
2020-04-01 04:10:13 +03:00
|
|
|
--> $DIR/attribute-typos.rs:1:3
|
2019-01-25 14:29:47 -05:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[deprcated]
|
2019-07-12 02:29:28 +03:00
|
|
|
| ^^^^^^^^^ help: a built-in attribute with a similar name exists: `deprecated`
|
2019-01-25 14:29:47 -05:00
|
|
|
|
2019-06-30 13:00:45 +03:00
|
|
|
error: aborting due to 4 previous errors
|
2019-01-25 14:29:47 -05:00
|
|
|
|