Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

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

Lines changed: 0 additions & 3 deletions
This file was deleted.

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

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
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+
Lines changed: 6 additions & 0 deletions
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)