rust/src/test/ui/suggestions/attribute-typos.stderr

28 lines
1.1 KiB
Plaintext
Raw Normal View History

error[E0658]: unless otherwise specified, attributes with the prefix `rustc_` are reserved for internal compiler diagnostics (see issue #29642)
--> $DIR/attribute-typos.rs:11:3
|
2019-03-09 06:03:44 -06:00
LL | #[rustc_err]
| ^^^^^^^^^
|
= help: add #![feature(rustc_attrs)] to the crate attributes to enable
error[E0658]: The attribute `tests` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
--> $DIR/attribute-typos.rs:6:3
|
2019-03-09 06:03:44 -06:00
LL | #[tests]
| ^^^^^ help: a built-in attribute with a similar name exists: `test`
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error[E0658]: The attribute `deprcated` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
--> $DIR/attribute-typos.rs:1:3
|
2019-03-09 06:03:44 -06:00
LL | #[deprcated]
| ^^^^^^^^^ help: a built-in attribute with a similar name exists: `deprecated`
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0658`.