diff options
| author | Lukas Wirth <lukas.wirth@ferrous-systems.com> | 2025-06-03 10:03:42 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukas.wirth@ferrous-systems.com> | 2025-06-03 13:35:31 +0200 |
| commit | eae7fe1bdb5ca2fa3c37c84c5e93d5fb3cbeab8d (patch) | |
| tree | 49a56410279d75fe97d74400d6a7f409f281a6f9 /tests/ui/pattern/missing_lifetime.rs | |
| parent | b17dba45186c454576d0fc8fb93ecc65eb1a763a (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.rs | 2 |
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(..)) => {} } } |
