diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-09-20 15:45:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-20 15:45:46 +0200 |
| commit | f784c5281ee21e321cf82ba33e45fcfb877d70c0 (patch) | |
| tree | a331c6db2be85fca1f7ba1af82f1087e5bb086c7 | |
| parent | 3e21426429a4bcb9e7203894a824643319cf69d0 (diff) | |
| parent | e9fcb7db4d924b4ba43281be6312f12ce90faed1 (diff) | |
| download | rust-f784c5281ee21e321cf82ba33e45fcfb877d70c0.tar.gz rust-f784c5281ee21e321cf82ba33e45fcfb877d70c0.zip | |
Rollup merge of #130605 - clubby789:change-test, r=jieyouxu
Fix feature name in test This is meant to test that the `box_patterns` feature isn't active due to the `cfg(FALSE)`, but uses the removed `box_syntax` feature. Fix this so it's testing what it should be.
| -rw-r--r-- | tests/ui/cfg/cfg-false-feature.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/cfg/cfg-false-feature.rs b/tests/ui/cfg/cfg-false-feature.rs index 6645f667d7e..716b18492c7 100644 --- a/tests/ui/cfg/cfg-false-feature.rs +++ b/tests/ui/cfg/cfg-false-feature.rs @@ -5,7 +5,7 @@ #![feature(decl_macro)] #![cfg(FALSE)] -#![feature(box_syntax)] +#![feature(box_patterns)] macro mac() {} // OK |
