about summary refs log tree commit diff
path: root/tests/ui/self
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-06-12 03:14:50 +0200
committerGitHub <noreply@github.com>2025-06-12 03:14:50 +0200
commitb3ddf3cae21340d41c091c9839779029fe512c65 (patch)
treec9ad40717aa6778ffde1cf060bd3e09ce9a1443f /tests/ui/self
parentbdf7b74517c9fec8009062e92ef08158635946f7 (diff)
parent2549962c63651e4edf33a215e118777faf6d1c42 (diff)
downloadrust-b3ddf3cae21340d41c091c9839779029fe512c65.tar.gz
rust-b3ddf3cae21340d41c091c9839779029fe512c65.zip
Rollup merge of #142066 - ferrocene:lw/edition-2015-tests, r=compiler-errors
More simple 2015 edition test decoupling

This should be the last of these PRs for now. The remaining tests that do not work on other editions than 2015 either need the range support (so blocked on the MCP), need normalization rules (which needs discussions first/same MCP) or revisions.

r? compiler-errors
Diffstat (limited to 'tests/ui/self')
-rw-r--r--tests/ui/self/self-shadowing-import.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/self/self-shadowing-import.rs b/tests/ui/self/self-shadowing-import.rs
index 85574daad5f..78d04e0713a 100644
--- a/tests/ui/self/self-shadowing-import.rs
+++ b/tests/ui/self/self-shadowing-import.rs
@@ -9,7 +9,7 @@ mod a {
 }
 
 mod c {
-    use a::b::a;
+    use crate::a::b::a;
     pub fn bar() { assert_eq!(a::foo(), 1); }
 }