rust/tests/ui/codemap_tests/huge_multispan_highlight.rs
Zalathar 660246bc76 Don't allow -Zunstable-options to take a value
Passing an explicit boolean value (`on`, `off` etc.) appears to work, but
actually puts the compiler into an unintended state where unstable _options_
are still forbidden, but unstable values of _some_ stable options are allowed.
2024-11-18 18:04:59 +11:00

242 lines
759 B
Rust

//@ revisions: ascii unicode
//@ compile-flags: --color=always
//@[ascii] compile-flags: --error-format=human
//@[unicode] compile-flags: -Zunstable-options --error-format=human-unicode
//@ ignore-windows
fn main() {
let _ = match true {
true => (
// last line shown in multispan header
),
false => "
",
};
let _ = match true {
true => (
1 // last line shown in multispan header
),
false => "
1 last line shown in multispan
",
};
}