about summary refs log tree commit diff
path: root/tests/ui/pattern/missing_lifetime.rs
diff options
context:
space:
mode:
authorLukas Wirth <lukas.wirth@ferrous-systems.com>2025-06-03 10:03:42 +0200
committerLukas Wirth <lukas.wirth@ferrous-systems.com>2025-06-03 13:35:31 +0200
commiteae7fe1bdb5ca2fa3c37c84c5e93d5fb3cbeab8d (patch)
tree49a56410279d75fe97d74400d6a7f409f281a6f9 /tests/ui/pattern/missing_lifetime.rs
parentb17dba45186c454576d0fc8fb93ecc65eb1a763a (diff)
Use non-2015 edition paths in tests that do not test for their resolution
This allows for testing these tests on editions other than 2015
Diffstat (limited to 'tests/ui/pattern/missing_lifetime.rs')
-rw-r--r--tests/ui/pattern/missing_lifetime.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/pattern/missing_lifetime.rs b/tests/ui/pattern/missing_lifetime.rs
index 081f667d8f6..53f8e155019 100644
--- a/tests/ui/pattern/missing_lifetime.rs
+++ b/tests/ui/pattern/missing_lifetime.rs
@@ -20,6 +20,6 @@ enum Other {
 
 fn main() {
     match Other::Other1(Foo::Baz) {
-        ::Other::Other2(::Foo::Bar(..)) => {}
+        crate::Other::Other2(crate::Foo::Bar(..)) => {}
     }
 }