about summary refs log tree commit diff
path: root/tests/ui/resolve/unresolved-segments-visibility.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/resolve/unresolved-segments-visibility.rs')
-rw-r--r--tests/ui/resolve/unresolved-segments-visibility.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/resolve/unresolved-segments-visibility.rs b/tests/ui/resolve/unresolved-segments-visibility.rs
index c26171f75d2..fc86b31adfc 100644
--- a/tests/ui/resolve/unresolved-segments-visibility.rs
+++ b/tests/ui/resolve/unresolved-segments-visibility.rs
@@ -5,7 +5,7 @@ extern crate alloc as b;
 
 mod foo {
     mod bar {
-        pub(in b::string::String::newy) extern crate alloc as e;
+        pub(in crate::b::string::String::newy) extern crate alloc as e;
         //~^ ERROR failed to resolve: `String` is a struct, not a module [E0433]
     }
 }