about summary refs log tree commit diff
path: root/tests/ui/parser/self-param-syntactic-pass.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/parser/self-param-syntactic-pass.rs
parentd83f4153251ad3e85e975fa3e613378eba913c0b (diff)
downloadrust-303c1b45c29f8bb186a9a95cb56643d1aef773fa.tar.gz
rust-303c1b45c29f8bb186a9a95cb56643d1aef773fa.zip
Use `cfg(false)` in UI tests
Diffstat (limited to 'tests/ui/parser/self-param-syntactic-pass.rs')
-rw-r--r--tests/ui/parser/self-param-syntactic-pass.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ui/parser/self-param-syntactic-pass.rs b/tests/ui/parser/self-param-syntactic-pass.rs
index c7fdc529716..331e652f9c5 100644
--- a/tests/ui/parser/self-param-syntactic-pass.rs
+++ b/tests/ui/parser/self-param-syntactic-pass.rs
@@ -5,7 +5,7 @@
 
 fn main() {}
 
-#[cfg(FALSE)]
+#[cfg(false)]
 fn free() {
     fn f(self) {}
     fn f(mut self) {}
@@ -17,7 +17,7 @@ fn free() {
     fn f(mut self: u8) {}
 }
 
-#[cfg(FALSE)]
+#[cfg(false)]
 extern "C" {
     fn f(self);
     fn f(mut self);
@@ -29,7 +29,7 @@ extern "C" {
     fn f(mut self: u8);
 }
 
-#[cfg(FALSE)]
+#[cfg(false)]
 trait X {
     fn f(self) {}
     fn f(mut self) {}
@@ -41,7 +41,7 @@ trait X {
     fn f(mut self: u8) {}
 }
 
-#[cfg(FALSE)]
+#[cfg(false)]
 impl X for Y {
     fn f(self) {}
     fn f(mut self) {}
@@ -53,7 +53,7 @@ impl X for Y {
     fn f(mut self: u8) {}
 }
 
-#[cfg(FALSE)]
+#[cfg(false)]
 impl X for Y {
     type X = fn(self);
     type X = fn(mut self);