about summary refs log tree commit diff
path: root/tests/ui/resolve/privacy-struct-ctor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/resolve/privacy-struct-ctor.rs')
-rw-r--r--tests/ui/resolve/privacy-struct-ctor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/resolve/privacy-struct-ctor.rs b/tests/ui/resolve/privacy-struct-ctor.rs
index da0e9f2fc04..70c751999b7 100644
--- a/tests/ui/resolve/privacy-struct-ctor.rs
+++ b/tests/ui/resolve/privacy-struct-ctor.rs
@@ -9,10 +9,10 @@ mod m {
     }
 
     pub mod n {
-        pub(in m) struct Z(pub(in m::n) u8);
+        pub(in crate::m) struct Z(pub(in crate::m::n) u8);
     }
 
-    use m::n::Z; // OK, only the type is imported
+    use crate::m::n::Z; // OK, only the type is imported
 
     fn f() {
         n::Z;