mirror of
https://github.com/rust-lang/rust
synced 2024-09-06 01:11:17 +00:00
140 lines
2.9 KiB
Plaintext
140 lines
2.9 KiB
Plaintext
error: malformed `coverage` attribute input
|
|
--> $DIR/bad-syntax.rs:15:1
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
LL | #[coverage(off)]
|
|
| ~~~~~~~~~~~~~~~~
|
|
LL | #[coverage(on)]
|
|
| ~~~~~~~~~~~~~~~
|
|
|
|
error: malformed `coverage` attribute input
|
|
--> $DIR/bad-syntax.rs:18:1
|
|
|
|
|
LL | #[coverage = true]
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
LL | #[coverage(off)]
|
|
| ~~~~~~~~~~~~~~~~
|
|
LL | #[coverage(on)]
|
|
| ~~~~~~~~~~~~~~~
|
|
|
|
error: malformed `coverage` attribute input
|
|
--> $DIR/bad-syntax.rs:21:1
|
|
|
|
|
LL | #[coverage()]
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
LL | #[coverage(off)]
|
|
| ~~~~~~~~~~~~~~~~
|
|
LL | #[coverage(on)]
|
|
| ~~~~~~~~~~~~~~~
|
|
|
|
error: malformed `coverage` attribute input
|
|
--> $DIR/bad-syntax.rs:24:1
|
|
|
|
|
LL | #[coverage(off, off)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
LL | #[coverage(off)]
|
|
| ~~~~~~~~~~~~~~~~
|
|
LL | #[coverage(on)]
|
|
| ~~~~~~~~~~~~~~~
|
|
|
|
error: malformed `coverage` attribute input
|
|
--> $DIR/bad-syntax.rs:27:1
|
|
|
|
|
LL | #[coverage(off, on)]
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
LL | #[coverage(off)]
|
|
| ~~~~~~~~~~~~~~~~
|
|
LL | #[coverage(on)]
|
|
| ~~~~~~~~~~~~~~~
|
|
|
|
error: malformed `coverage` attribute input
|
|
--> $DIR/bad-syntax.rs:30:1
|
|
|
|
|
LL | #[coverage(bogus)]
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
LL | #[coverage(off)]
|
|
| ~~~~~~~~~~~~~~~~
|
|
LL | #[coverage(on)]
|
|
| ~~~~~~~~~~~~~~~
|
|
|
|
error: malformed `coverage` attribute input
|
|
--> $DIR/bad-syntax.rs:33:1
|
|
|
|
|
LL | #[coverage(bogus, off)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
LL | #[coverage(off)]
|
|
| ~~~~~~~~~~~~~~~~
|
|
LL | #[coverage(on)]
|
|
| ~~~~~~~~~~~~~~~
|
|
|
|
error: malformed `coverage` attribute input
|
|
--> $DIR/bad-syntax.rs:36:1
|
|
|
|
|
LL | #[coverage(off, bogus)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
LL | #[coverage(off)]
|
|
| ~~~~~~~~~~~~~~~~
|
|
LL | #[coverage(on)]
|
|
| ~~~~~~~~~~~~~~~
|
|
|
|
error: expected identifier, found `,`
|
|
--> $DIR/bad-syntax.rs:42:12
|
|
|
|
|
LL | #[coverage(,off)]
|
|
| ^
|
|
| |
|
|
| expected identifier
|
|
| help: remove this comma
|
|
|
|
error: multiple `coverage` attributes
|
|
--> $DIR/bad-syntax.rs:7:1
|
|
|
|
|
LL | #[coverage(off)]
|
|
| ^^^^^^^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
note: attribute also specified here
|
|
--> $DIR/bad-syntax.rs:8:1
|
|
|
|
|
LL | #[coverage(off)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: multiple `coverage` attributes
|
|
--> $DIR/bad-syntax.rs:11:1
|
|
|
|
|
LL | #[coverage(off)]
|
|
| ^^^^^^^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
note: attribute also specified here
|
|
--> $DIR/bad-syntax.rs:12:1
|
|
|
|
|
LL | #[coverage(on)]
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 11 previous errors
|
|
|