rust/tests/ui/instrument-xray/flags-dupe-always.rs

8 lines
236 B
Rust

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