mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 05:34:45 +00:00
216 lines
6.0 KiB
Plaintext
216 lines
6.0 KiB
Plaintext
error[E0539]: malformed `coverage` attribute input
|
|
--> $DIR/word-only.rs:12:1
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^ this attribute is only valid with either `on` or `off` as an argument
|
|
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
|
|
|
|
LL | #[coverage(off)]
|
|
| +++++
|
|
LL | #[coverage(on)]
|
|
| ++++
|
|
|
|
error[E0539]: malformed `coverage` attribute input
|
|
--> $DIR/word-only.rs:17:5
|
|
|
|
|
LL | #![coverage]
|
|
| ^^^^^^^^^^^^ this attribute is only valid with either `on` or `off` as an argument
|
|
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
|
|
|
|
LL | #![coverage(off)]
|
|
| +++++
|
|
LL | #![coverage(on)]
|
|
| ++++
|
|
|
|
error[E0539]: malformed `coverage` attribute input
|
|
--> $DIR/word-only.rs:21:1
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^ this attribute is only valid with either `on` or `off` as an argument
|
|
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
|
|
|
|
LL | #[coverage(off)]
|
|
| +++++
|
|
LL | #[coverage(on)]
|
|
| ++++
|
|
|
|
error: `#[coverage]` attribute cannot be used on structs
|
|
--> $DIR/word-only.rs:21:1
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= help: `#[coverage]` can be applied to functions, impl blocks, modules, and crates
|
|
|
|
error[E0539]: malformed `coverage` attribute input
|
|
--> $DIR/word-only.rs:26:1
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^ this attribute is only valid with either `on` or `off` as an argument
|
|
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
|
|
|
|
LL | #[coverage(off)]
|
|
| +++++
|
|
LL | #[coverage(on)]
|
|
| ++++
|
|
|
|
error[E0539]: malformed `coverage` attribute input
|
|
--> $DIR/word-only.rs:29:5
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^ this attribute is only valid with either `on` or `off` as an argument
|
|
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
|
|
|
|
LL | #[coverage(off)]
|
|
| +++++
|
|
LL | #[coverage(on)]
|
|
| ++++
|
|
|
|
error: `#[coverage]` attribute cannot be used on associated consts
|
|
--> $DIR/word-only.rs:29:5
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= help: `#[coverage]` can be applied to functions, impl blocks, modules, and crates
|
|
|
|
error[E0539]: malformed `coverage` attribute input
|
|
--> $DIR/word-only.rs:35:1
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^ this attribute is only valid with either `on` or `off` as an argument
|
|
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
|
|
|
|
LL | #[coverage(off)]
|
|
| +++++
|
|
LL | #[coverage(on)]
|
|
| ++++
|
|
|
|
error: `#[coverage]` attribute cannot be used on traits
|
|
--> $DIR/word-only.rs:35:1
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= help: `#[coverage]` can be applied to functions, impl blocks, modules, and crates
|
|
|
|
error[E0539]: malformed `coverage` attribute input
|
|
--> $DIR/word-only.rs:39:5
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^ this attribute is only valid with either `on` or `off` as an argument
|
|
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
|
|
|
|
LL | #[coverage(off)]
|
|
| +++++
|
|
LL | #[coverage(on)]
|
|
| ++++
|
|
|
|
error: `#[coverage]` attribute cannot be used on associated consts
|
|
--> $DIR/word-only.rs:39:5
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= help: `#[coverage]` can be applied to functions, impl blocks, modules, and crates
|
|
|
|
error[E0539]: malformed `coverage` attribute input
|
|
--> $DIR/word-only.rs:44:5
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^ this attribute is only valid with either `on` or `off` as an argument
|
|
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
|
|
|
|
LL | #[coverage(off)]
|
|
| +++++
|
|
LL | #[coverage(on)]
|
|
| ++++
|
|
|
|
error: `#[coverage]` attribute cannot be used on associated types
|
|
--> $DIR/word-only.rs:44:5
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= help: `#[coverage]` can be applied to functions, impl blocks, modules, and crates
|
|
|
|
error[E0539]: malformed `coverage` attribute input
|
|
--> $DIR/word-only.rs:50:1
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^ this attribute is only valid with either `on` or `off` as an argument
|
|
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
|
|
|
|
LL | #[coverage(off)]
|
|
| +++++
|
|
LL | #[coverage(on)]
|
|
| ++++
|
|
|
|
error[E0539]: malformed `coverage` attribute input
|
|
--> $DIR/word-only.rs:53:5
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^ this attribute is only valid with either `on` or `off` as an argument
|
|
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
|
|
|
|
LL | #[coverage(off)]
|
|
| +++++
|
|
LL | #[coverage(on)]
|
|
| ++++
|
|
|
|
error: `#[coverage]` attribute cannot be used on associated consts
|
|
--> $DIR/word-only.rs:53:5
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= help: `#[coverage]` can be applied to functions, impl blocks, modules, and crates
|
|
|
|
error[E0539]: malformed `coverage` attribute input
|
|
--> $DIR/word-only.rs:58:5
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^ this attribute is only valid with either `on` or `off` as an argument
|
|
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
|
|
|
|
LL | #[coverage(off)]
|
|
| +++++
|
|
LL | #[coverage(on)]
|
|
| ++++
|
|
|
|
error: `#[coverage]` attribute cannot be used on associated types
|
|
--> $DIR/word-only.rs:58:5
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= help: `#[coverage]` can be applied to functions, impl blocks, modules, and crates
|
|
|
|
error[E0539]: malformed `coverage` attribute input
|
|
--> $DIR/word-only.rs:64:1
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^ this attribute is only valid with either `on` or `off` as an argument
|
|
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
|
|
|
|
LL | #[coverage(off)]
|
|
| +++++
|
|
LL | #[coverage(on)]
|
|
| ++++
|
|
|
|
error: aborting due to 19 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0539`.
|