error: malformed `coverage` attribute input --> $DIR/name-value.rs:12:1 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ | help: the following are the possible correct uses | LL - #[coverage = "off"] LL + #[coverage(off)] | LL - #[coverage = "off"] LL + #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/name-value.rs:17:5 | LL | #![coverage = "off"] | ^^^^^^^^^^^^^^^^^^^^ | help: the following are the possible correct uses | LL - #![coverage = "off"] LL + #![coverage(off)] | LL - #![coverage = "off"] LL + #![coverage(on)] | error: malformed `coverage` attribute input --> $DIR/name-value.rs:21:1 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ | help: the following are the possible correct uses | LL - #[coverage = "off"] LL + #[coverage(off)] | LL - #[coverage = "off"] LL + #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/name-value.rs:26:1 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ | help: the following are the possible correct uses | LL - #[coverage = "off"] LL + #[coverage(off)] | LL - #[coverage = "off"] LL + #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/name-value.rs:29:5 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ | help: the following are the possible correct uses | LL - #[coverage = "off"] LL + #[coverage(off)] | LL - #[coverage = "off"] LL + #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/name-value.rs:35:1 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ | help: the following are the possible correct uses | LL - #[coverage = "off"] LL + #[coverage(off)] | LL - #[coverage = "off"] LL + #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/name-value.rs:39:5 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ | help: the following are the possible correct uses | LL - #[coverage = "off"] LL + #[coverage(off)] | LL - #[coverage = "off"] LL + #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/name-value.rs:44:5 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ | help: the following are the possible correct uses | LL - #[coverage = "off"] LL + #[coverage(off)] | LL - #[coverage = "off"] LL + #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/name-value.rs:50:1 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ | help: the following are the possible correct uses | LL - #[coverage = "off"] LL + #[coverage(off)] | LL - #[coverage = "off"] LL + #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/name-value.rs:53:5 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ | help: the following are the possible correct uses | LL - #[coverage = "off"] LL + #[coverage(off)] | LL - #[coverage = "off"] LL + #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/name-value.rs:58:5 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ | help: the following are the possible correct uses | LL - #[coverage = "off"] LL + #[coverage(off)] | LL - #[coverage = "off"] LL + #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/name-value.rs:64:1 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ | help: the following are the possible correct uses | LL - #[coverage = "off"] LL + #[coverage(off)] | LL - #[coverage = "off"] LL + #[coverage(on)] | error[E0788]: coverage attribute not allowed here --> $DIR/name-value.rs:21:1 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ ... LL | struct MyStruct; | ---------------- not a function, impl block, or module | = help: coverage attribute can be applied to a function (with body), impl block, or module error[E0788]: coverage attribute not allowed here --> $DIR/name-value.rs:35:1 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ ... LL | / trait MyTrait { LL | | #[coverage = "off"] ... | LL | | type T; LL | | } | |_- not a function, impl block, or module | = help: coverage attribute can be applied to a function (with body), impl block, or module error[E0788]: coverage attribute not allowed here --> $DIR/name-value.rs:39:5 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ ... LL | const X: u32; | ------------- not a function, impl block, or module | = help: coverage attribute can be applied to a function (with body), impl block, or module error[E0788]: coverage attribute not allowed here --> $DIR/name-value.rs:44:5 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ ... LL | type T; | ------- not a function, impl block, or module | = help: coverage attribute can be applied to a function (with body), impl block, or module error[E0788]: coverage attribute not allowed here --> $DIR/name-value.rs:29:5 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ ... LL | const X: u32 = 7; | ----------------- not a function, impl block, or module | = help: coverage attribute can be applied to a function (with body), impl block, or module error[E0788]: coverage attribute not allowed here --> $DIR/name-value.rs:53:5 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ ... LL | const X: u32 = 8; | ----------------- not a function, impl block, or module | = help: coverage attribute can be applied to a function (with body), impl block, or module error[E0788]: coverage attribute not allowed here --> $DIR/name-value.rs:58:5 | LL | #[coverage = "off"] | ^^^^^^^^^^^^^^^^^^^ ... LL | type T = (); | ------------ not a function, impl block, or module | = help: coverage attribute can be applied to a function (with body), impl block, or module error: aborting due to 19 previous errors For more information about this error, try `rustc --explain E0788`.