about summary refs log tree commit diff
path: root/tests/ui/coverage-attr/bad-attr-ice.feat.stderr
blob: 5a003af42da57809bb823a68e84baeebbc3558a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0539]: malformed `coverage` attribute input
  --> $DIR/bad-attr-ice.rs:11:1
   |
LL | #[coverage]
   | ^^^^^^^^^^^ this attribute is only valid with either `on` or `off` as an argument
   |
help: try changing it to one of the following valid forms of the attribute
   |
LL | #[coverage(off)]
   |           +++++
LL | #[coverage(on)]
   |           ++++

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0539`.