Skip to content

Commit bc18509

Browse files
committed
coverage: UI test for unstable value -C instrument-coverage=branch
1 parent df871fb commit bc18509

6 files changed

+8
-6
lines changed

tests/ui/instrument-coverage/except-unused-functions.rs

-3
This file was deleted.

tests/ui/instrument-coverage/except-unused-generics.rs

-3
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: `-C instrument-coverage=branch` and `-C instrument-coverage=except-*` require `-Z unstable-options`
2+
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// revisions: branch except-unused-functions except-unused-generics
2+
// [branch] compile-flags: -Cinstrument-coverage=branch
3+
// [except-unused-functions] compile-flags: -Cinstrument-coverage=except-unused-functions
4+
// [except-unused-generics] compile-flags: -Cinstrument-coverage=except-unused-generics
5+
6+
fn main() {}

0 commit comments

Comments
 (0)