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/error-emitter | |
| 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/error-emitter')
| -rw-r--r-- | tests/ui/error-emitter/unicode-output.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/error-emitter/unicode-output.rs b/tests/ui/error-emitter/unicode-output.rs index ba6db37b66c..5c083c4e575 100644 --- a/tests/ui/error-emitter/unicode-output.rs +++ b/tests/ui/error-emitter/unicode-output.rs @@ -1,4 +1,4 @@ -//@ compile-flags: -Zunstable-options=yes --error-format=human-unicode --color=always +//@ compile-flags: -Zunstable-options --error-format=human-unicode --color=always //@ edition:2018 //@ only-linux |
