about summary refs log tree commit diff
path: root/tests/ui/warnings/no-explicit-path-issue-122509.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/warnings/no-explicit-path-issue-122509.rs')
-rw-r--r--tests/ui/warnings/no-explicit-path-issue-122509.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/warnings/no-explicit-path-issue-122509.rs b/tests/ui/warnings/no-explicit-path-issue-122509.rs
index 4e8eefde5da..5be4b174076 100644
--- a/tests/ui/warnings/no-explicit-path-issue-122509.rs
+++ b/tests/ui/warnings/no-explicit-path-issue-122509.rs
@@ -7,13 +7,13 @@ fn one() -> usize {
 
 pub mod a {
     pub fn two() -> usize {
-        ::one() + ::one()
+        crate::one() + crate::one()
     }
 }
 
 pub mod b {
     pub fn three() -> usize {
-        ::one() + ::a::two()
+        crate::one() + crate::a::two()
     }
 }