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/recursion_limit | |
| parent | b17dba45186c454576d0fc8fb93ecc65eb1a763a (diff) | |
| download | rust-eae7fe1bdb5ca2fa3c37c84c5e93d5fb3cbeab8d.tar.gz rust-eae7fe1bdb5ca2fa3c37c84c5e93d5fb3cbeab8d.zip | |
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/recursion_limit')
| -rw-r--r-- | tests/ui/recursion_limit/issue-40003.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/recursion_limit/issue-40003.rs b/tests/ui/recursion_limit/issue-40003.rs index 5032d0c9db3..6bc40690dad 100644 --- a/tests/ui/recursion_limit/issue-40003.rs +++ b/tests/ui/recursion_limit/issue-40003.rs @@ -17,7 +17,7 @@ use future::{Future, IntoFuture}; mod future { use std::result; - use {stream, Stream}; + use crate::{stream, Stream}; pub trait Future { type Item; @@ -100,7 +100,7 @@ mod future { } mod stream { - use IntoFuture; + use crate::IntoFuture; pub trait Stream { type Item; |
