8e382ba022
This code can sometimes witness malformed coverage attributes in builds that are going to fail, so use `span_delayed_bug` to avoid an inappropriate ICE in that case.
16 lines
270 B
Plaintext
16 lines
270 B
Plaintext
error: malformed `coverage` attribute input
|
|
--> $DIR/bad-attr-ice.rs:10:1
|
|
|
|
|
LL | #[coverage]
|
|
| ^^^^^^^^^^^
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
LL | #[coverage(off)]
|
|
|
|
|
LL | #[coverage(on)]
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|