about summary refs log tree commit diff
path: root/tests/ui/expr/if/attrs/else-attrs.rs
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2025-03-29 17:24:03 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2025-04-03 21:41:58 +0000
commit303c1b45c29f8bb186a9a95cb56643d1aef773fa (patch)
treebb20ddf2dafd0064173d5d4164a351503453f9ea /tests/ui/expr/if/attrs/else-attrs.rs
parentd83f4153251ad3e85e975fa3e613378eba913c0b (diff)
downloadrust-303c1b45c29f8bb186a9a95cb56643d1aef773fa.tar.gz
rust-303c1b45c29f8bb186a9a95cb56643d1aef773fa.zip
Use `cfg(false)` in UI tests
Diffstat (limited to 'tests/ui/expr/if/attrs/else-attrs.rs')
-rw-r--r--tests/ui/expr/if/attrs/else-attrs.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/expr/if/attrs/else-attrs.rs b/tests/ui/expr/if/attrs/else-attrs.rs
index 85da7cf6bb8..4010d9d6132 100644
--- a/tests/ui/expr/if/attrs/else-attrs.rs
+++ b/tests/ui/expr/if/attrs/else-attrs.rs
@@ -1,11 +1,11 @@
-#[cfg(FALSE)]
+#[cfg(false)]
 fn if_else_parse_error() {
     if true {
     } #[attr] else if false { //~ ERROR expected
     }
 }
 
-#[cfg(FALSE)]
+#[cfg(false)]
 fn else_attr_ifparse_error() {
     if true {
     } else #[attr] if false { //~ ERROR outer attributes are not allowed
@@ -13,7 +13,7 @@ fn else_attr_ifparse_error() {
     }
 }
 
-#[cfg(FALSE)]
+#[cfg(false)]
 fn else_parse_error() {
     if true {
     } else if false {