about summary refs log tree commit diff
path: root/tests/ui/codemap_tests
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-11-18 17:36:45 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-11-18 18:04:59 +1100
commit660246bc762c426a9f46a212ee4b35b0d54256c1 (patch)
tree06d251d41a0eb00521a494d7213a6e6fd3ae7e42 /tests/ui/codemap_tests
parent0a619dd8ff56f53ec1b85b7e52ad68dc0e2c2e96 (diff)
downloadrust-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.rs2
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 {