error: malformed `coverage` attribute input --> $DIR/word-only.rs:12:1 | LL | #[coverage] | ^^^^^^^^^^^ | help: the following are the possible correct uses | LL | #[coverage(off)] | LL | #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/word-only.rs:17:5 | LL | #![coverage] | ^^^^^^^^^^^^ | help: the following are the possible correct uses | LL | #![coverage(off)] | LL | #![coverage(on)] | error: malformed `coverage` attribute input --> $DIR/word-only.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/word-only.rs:29:5 | LL | #[coverage] | ^^^^^^^^^^^ | help: the following are the possible correct uses | LL | #[coverage(off)] | LL | #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/word-only.rs:26:1 | LL | #[coverage] | ^^^^^^^^^^^ | help: the following are the possible correct uses | LL | #[coverage(off)] | LL | #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/word-only.rs:39:5 | LL | #[coverage] | ^^^^^^^^^^^ | help: the following are the possible correct uses | LL | #[coverage(off)] | LL | #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/word-only.rs:44:5 | LL | #[coverage] | ^^^^^^^^^^^ | help: the following are the possible correct uses | LL | #[coverage(off)] | LL | #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/word-only.rs:35:1 | LL | #[coverage] | ^^^^^^^^^^^ | help: the following are the possible correct uses | LL | #[coverage(off)] | LL | #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/word-only.rs:53:5 | LL | #[coverage] | ^^^^^^^^^^^ | help: the following are the possible correct uses | LL | #[coverage(off)] | LL | #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/word-only.rs:58:5 | LL | #[coverage] | ^^^^^^^^^^^ | help: the following are the possible correct uses | LL | #[coverage(off)] | LL | #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/word-only.rs:50:1 | LL | #[coverage] | ^^^^^^^^^^^ | help: the following are the possible correct uses | LL | #[coverage(off)] | LL | #[coverage(on)] | error: malformed `coverage` attribute input --> $DIR/word-only.rs:64:1 | LL | #[coverage] | ^^^^^^^^^^^ | help: the following are the possible correct uses | LL | #[coverage(off)] | LL | #[coverage(on)] | error[E0788]: coverage attribute not allowed here --> $DIR/word-only.rs:21:1 | LL | #[coverage] | ^^^^^^^^^^^ ... 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/word-only.rs:35:1 | LL | #[coverage] | ^^^^^^^^^^^ ... LL | / trait MyTrait { LL | | #[coverage] ... | 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/word-only.rs:39:5 | LL | #[coverage] | ^^^^^^^^^^^ ... 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/word-only.rs:44:5 | LL | #[coverage] | ^^^^^^^^^^^ ... 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/word-only.rs:29:5 | LL | #[coverage] | ^^^^^^^^^^^ ... 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/word-only.rs:53:5 | LL | #[coverage] | ^^^^^^^^^^^ ... 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/word-only.rs:58:5 | LL | #[coverage] | ^^^^^^^^^^^ ... 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`.