coverage: UI test for unstable value -C instrument-coverage=branch
This commit is contained in:
parent
df871fbf05
commit
bc18509719
@ -1,3 +0,0 @@
|
||||
// compile-flags: -Cinstrument-coverage=except-unused-functions
|
||||
|
||||
fn main() {}
|
@ -1,3 +0,0 @@
|
||||
// compile-flags: -Cinstrument-coverage=except-unused-generics
|
||||
|
||||
fn main() {}
|
@ -0,0 +1,2 @@
|
||||
error: `-C instrument-coverage=branch` and `-C instrument-coverage=except-*` require `-Z unstable-options`
|
||||
|
6
tests/ui/instrument-coverage/unstable.rs
Normal file
6
tests/ui/instrument-coverage/unstable.rs
Normal file
@ -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() {}
|
Loading…
x
Reference in New Issue
Block a user