rust/tests/ui/instrument-xray/flags-dupe-ignore-loops.rs

8 lines
260 B
Rust

// Checks that `-Z instrument-xray` does not allow duplicates.
//
//@ needs-xray
//@ compile-flags: -Z instrument-xray=ignore-loops,ignore-loops
//@ error-pattern: incorrect value `ignore-loops,ignore-loops` for unstable option `instrument-xray`
fn main() {}