Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/find_path.rs')
-rw-r--r--crates/hir-def/src/find_path.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir-def/src/find_path.rs b/crates/hir-def/src/find_path.rs
index f5e03e5281..a615abd1bb 100644
--- a/crates/hir-def/src/find_path.rs
+++ b/crates/hir-def/src/find_path.rs
@@ -1025,7 +1025,7 @@ pub mod ast {
check_found_path(
r#"
mod bar {
- mod foo { pub(super) struct S; }
+ mod foo { pub(crate) struct S; }
pub(crate) use foo::*;
}
$0
@@ -1047,7 +1047,7 @@ $0
check_found_path(
r#"
mod bar {
- mod foo { pub(super) struct S; }
+ mod foo { pub(crate) struct S; }
pub(crate) use foo::S as U;
}
$0