rust/tests/ui/instrument-xray/flags-always-never-1.rs

8 lines
259 B
Rust

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