diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-11-18 17:36:45 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-11-18 18:04:59 +1100 |
| commit | 660246bc762c426a9f46a212ee4b35b0d54256c1 (patch) | |
| tree | 06d251d41a0eb00521a494d7213a6e6fd3ae7e42 /tests/ui/codemap_tests | |
| parent | 0a619dd8ff56f53ec1b85b7e52ad68dc0e2c2e96 (diff) | |
| download | rust-660246bc762c426a9f46a212ee4b35b0d54256c1.tar.gz rust-660246bc762c426a9f46a212ee4b35b0d54256c1.zip | |
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.
Diffstat (limited to 'tests/ui/codemap_tests')
| -rw-r--r-- | tests/ui/codemap_tests/huge_multispan_highlight.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/codemap_tests/huge_multispan_highlight.rs b/tests/ui/codemap_tests/huge_multispan_highlight.rs index 7d7b7570823..6f6834b01bd 100644 --- a/tests/ui/codemap_tests/huge_multispan_highlight.rs +++ b/tests/ui/codemap_tests/huge_multispan_highlight.rs @@ -1,7 +1,7 @@ //@ revisions: ascii unicode //@ compile-flags: --color=always //@[ascii] compile-flags: --error-format=human -//@[unicode] compile-flags: -Zunstable-options=yes --error-format=human-unicode +//@[unicode] compile-flags: -Zunstable-options --error-format=human-unicode //@ ignore-windows fn main() { let _ = match true { |
