Skip to content

Commit

Permalink
coverage: UI test for unstable value -C instrument-coverage=branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalathar committed Oct 25, 2023
1 parent df871fb commit bc18509
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
3 changes: 0 additions & 3 deletions tests/ui/instrument-coverage/except-unused-functions.rs

This file was deleted.

3 changes: 0 additions & 3 deletions tests/ui/instrument-coverage/except-unused-generics.rs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
error: `-C instrument-coverage=branch` and `-C instrument-coverage=except-*` require `-Z unstable-options`

6 changes: 6 additions & 0 deletions tests/ui/instrument-coverage/unstable.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// revisions: branch except-unused-functions except-unused-generics
// [branch] compile-flags: -Cinstrument-coverage=branch
// [except-unused-functions] compile-flags: -Cinstrument-coverage=except-unused-functions
// [except-unused-generics] compile-flags: -Cinstrument-coverage=except-unused-generics

fn main() {}

0 comments on commit bc18509

Please sign in to comment.