2024-06-18 03:18:15 -05:00
|
|
|
error: malformed `coverage` attribute input
|
2024-06-20 03:13:48 -05:00
|
|
|
--> $DIR/bad-syntax.rs:15:1
|
2024-06-18 03:18:15 -05:00
|
|
|
|
|
|
|
|
LL | #[coverage]
|
2024-06-20 03:13:48 -05:00
|
|
|
| ^^^^^^^^^^^
|
2024-06-18 03:18:15 -05:00
|
|
|
|
|
2024-06-20 03:13:48 -05:00
|
|
|
help: the following are the possible correct uses
|
2024-06-18 03:18:15 -05:00
|
|
|
|
|
2024-06-20 03:13:48 -05:00
|
|
|
LL | #[coverage(off)]
|
|
|
|
| ~~~~~~~~~~~~~~~~
|
|
|
|
LL | #[coverage(on)]
|
|
|
|
| ~~~~~~~~~~~~~~~
|
2024-06-18 03:18:15 -05:00
|
|
|
|
2024-06-20 03:13:48 -05:00
|
|
|
error: malformed `coverage` attribute input
|
2024-06-18 03:18:15 -05:00
|
|
|
--> $DIR/bad-syntax.rs:18:1
|
|
|
|
|
|
|
|
|
LL | #[coverage = true]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2024-06-20 03:13:48 -05:00
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
|
|
|
LL | #[coverage(off)]
|
|
|
|
| ~~~~~~~~~~~~~~~~
|
|
|
|
LL | #[coverage(on)]
|
|
|
|
| ~~~~~~~~~~~~~~~
|
2024-06-18 03:18:15 -05:00
|
|
|
|
2024-06-20 03:13:48 -05:00
|
|
|
error: malformed `coverage` attribute input
|
|
|
|
--> $DIR/bad-syntax.rs:21:1
|
2024-06-18 03:18:15 -05:00
|
|
|
|
|
|
|
|
LL | #[coverage()]
|
|
|
|
| ^^^^^^^^^^^^^
|
2024-06-20 03:13:48 -05:00
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
|
|
|
LL | #[coverage(off)]
|
|
|
|
| ~~~~~~~~~~~~~~~~
|
|
|
|
LL | #[coverage(on)]
|
|
|
|
| ~~~~~~~~~~~~~~~
|
2024-06-18 03:18:15 -05:00
|
|
|
|
2024-06-20 03:13:48 -05:00
|
|
|
error: malformed `coverage` attribute input
|
|
|
|
--> $DIR/bad-syntax.rs:24:1
|
2024-06-18 03:18:15 -05:00
|
|
|
|
|
|
|
|
LL | #[coverage(off, off)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2024-06-20 03:13:48 -05:00
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
|
|
|
LL | #[coverage(off)]
|
|
|
|
| ~~~~~~~~~~~~~~~~
|
|
|
|
LL | #[coverage(on)]
|
|
|
|
| ~~~~~~~~~~~~~~~
|
2024-06-18 03:18:15 -05:00
|
|
|
|
2024-06-20 03:13:48 -05:00
|
|
|
error: malformed `coverage` attribute input
|
|
|
|
--> $DIR/bad-syntax.rs:27:1
|
2024-06-18 03:18:15 -05:00
|
|
|
|
|
|
|
|
LL | #[coverage(off, on)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
2024-06-20 03:13:48 -05:00
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
|
|
|
LL | #[coverage(off)]
|
|
|
|
| ~~~~~~~~~~~~~~~~
|
|
|
|
LL | #[coverage(on)]
|
|
|
|
| ~~~~~~~~~~~~~~~
|
2024-06-18 03:18:15 -05:00
|
|
|
|
2024-06-20 03:13:48 -05:00
|
|
|
error: malformed `coverage` attribute input
|
|
|
|
--> $DIR/bad-syntax.rs:30:1
|
2024-06-18 03:18:15 -05:00
|
|
|
|
|
|
|
|
LL | #[coverage(bogus)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2024-06-20 03:13:48 -05:00
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
|
|
|
LL | #[coverage(off)]
|
|
|
|
| ~~~~~~~~~~~~~~~~
|
|
|
|
LL | #[coverage(on)]
|
|
|
|
| ~~~~~~~~~~~~~~~
|
2024-06-18 03:18:15 -05:00
|
|
|
|
2024-06-20 03:13:48 -05:00
|
|
|
error: malformed `coverage` attribute input
|
|
|
|
--> $DIR/bad-syntax.rs:33:1
|
2024-06-18 03:18:15 -05:00
|
|
|
|
|
|
|
|
LL | #[coverage(bogus, off)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2024-06-20 03:13:48 -05:00
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
|
|
|
LL | #[coverage(off)]
|
|
|
|
| ~~~~~~~~~~~~~~~~
|
|
|
|
LL | #[coverage(on)]
|
|
|
|
| ~~~~~~~~~~~~~~~
|
2024-06-18 03:18:15 -05:00
|
|
|
|
2024-06-20 03:13:48 -05:00
|
|
|
error: malformed `coverage` attribute input
|
|
|
|
--> $DIR/bad-syntax.rs:36:1
|
2024-06-18 03:18:15 -05:00
|
|
|
|
|
|
|
|
LL | #[coverage(off, bogus)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2024-06-20 03:13:48 -05:00
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
|
|
|
LL | #[coverage(off)]
|
|
|
|
| ~~~~~~~~~~~~~~~~
|
|
|
|
LL | #[coverage(on)]
|
|
|
|
| ~~~~~~~~~~~~~~~
|
2024-06-18 03:18:15 -05:00
|
|
|
|
2024-06-20 03:13:48 -05:00
|
|
|
error: expected identifier, found `,`
|
|
|
|
--> $DIR/bad-syntax.rs:42:12
|
2024-06-18 03:18:15 -05:00
|
|
|
|
|
|
|
|
LL | #[coverage(,off)]
|
2024-07-05 22:07:46 -05:00
|
|
|
| ^ expected identifier
|
|
|
|
|
|
|
|
|
help: remove this comma
|
|
|
|
|
|
|
|
|
LL - #[coverage(,off)]
|
|
|
|
LL + #[coverage(off)]
|
|
|
|
|
|
2024-06-20 03:13:48 -05:00
|
|
|
|
|
|
|
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)]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2024-06-18 03:18:15 -05:00
|
|
|
|
|
|
|
error: aborting due to 11 previous errors
|
|
|
|
|