2024-06-19 12:09:56 +10:00
|
|
|
error: malformed `coverage` attribute input
|
2024-06-20 18:13:48 +10:00
|
|
|
--> $DIR/name-value.rs:11:1
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(off)]
|
|
|
|
|
|
|
|
|
LL | #[coverage(on)]
|
|
|
|
|
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
error: malformed `coverage` attribute input
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:16:5
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #![coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #![coverage(off)]
|
|
|
|
|
|
|
|
|
LL | #![coverage(on)]
|
|
|
|
|
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
error: malformed `coverage` attribute input
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:20:1
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(off)]
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(on)]
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
|
|
|
|
error: malformed `coverage` attribute input
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:28:5
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(off)]
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(on)]
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
|
|
|
|
error: malformed `coverage` attribute input
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:25:1
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(off)]
|
|
|
|
|
|
|
|
|
LL | #[coverage(on)]
|
|
|
|
|
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
error: malformed `coverage` attribute input
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:38:5
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(off)]
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(on)]
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
|
|
|
|
error: malformed `coverage` attribute input
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:43:5
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(off)]
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(on)]
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
|
|
|
|
error: malformed `coverage` attribute input
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:34:1
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(off)]
|
|
|
|
|
|
|
|
|
LL | #[coverage(on)]
|
|
|
|
|
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
error: malformed `coverage` attribute input
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:52:5
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(off)]
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(on)]
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
|
|
|
|
error: malformed `coverage` attribute input
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:57:5
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(off)]
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(on)]
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
|
|
|
|
error: malformed `coverage` attribute input
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:49:1
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(off)]
|
|
|
|
|
|
|
|
|
LL | #[coverage(on)]
|
|
|
|
|
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
error: malformed `coverage` attribute input
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:63:1
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(off)]
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
LL | #[coverage(on)]
|
|
|
|
|
|
|
|
|
|
|
|
|
error[E0788]: attribute should be applied to a function definition or closure
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:20:1
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | struct MyStruct;
|
2024-06-20 18:13:48 +10:00
|
|
|
| ---------------- not a function or closure
|
|
|
|
|
|
|
|
error[E0788]: attribute should be applied to a function definition or closure
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:34:1
|
2024-06-20 18:13:48 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | / trait MyTrait {
|
|
|
|
LL | | #[coverage = "off"]
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
... |
|
|
|
|
LL | | type T;
|
|
|
|
LL | | }
|
|
|
|
| |_- not a function or closure
|
2024-06-19 12:09:56 +10:00
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
error[E0788]: attribute should be applied to a function definition or closure
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:38:5
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | const X: u32;
|
2024-06-20 18:13:48 +10:00
|
|
|
| ------------- not a function or closure
|
2024-06-19 12:09:56 +10:00
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
error[E0788]: attribute should be applied to a function definition or closure
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:43:5
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | type T;
|
2024-06-20 18:13:48 +10:00
|
|
|
| ------- not a function or closure
|
2024-06-19 12:09:56 +10:00
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
error[E0788]: attribute should be applied to a function definition or closure
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:28:5
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | const X: u32 = 7;
|
2024-06-20 18:13:48 +10:00
|
|
|
| ----------------- not a function or closure
|
2024-06-19 12:09:56 +10:00
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
error[E0788]: attribute should be applied to a function definition or closure
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:52:5
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | const X: u32 = 8;
|
2024-06-20 18:13:48 +10:00
|
|
|
| ----------------- not a function or closure
|
2024-06-19 12:09:56 +10:00
|
|
|
|
2024-06-20 18:13:48 +10:00
|
|
|
error[E0788]: attribute should be applied to a function definition or closure
|
2024-06-21 21:59:02 +10:00
|
|
|
--> $DIR/name-value.rs:57:5
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
|
LL | #[coverage = "off"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | type T = ();
|
2024-06-20 18:13:48 +10:00
|
|
|
| ------------ not a function or closure
|
2024-06-19 12:09:56 +10:00
|
|
|
|
2024-06-21 21:59:02 +10:00
|
|
|
error: aborting due to 19 previous errors
|
2024-06-19 12:09:56 +10:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0788`.
|