aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/find_path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir_def/src/find_path.rs')
-rw-r--r--crates/hir_def/src/find_path.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/hir_def/src/find_path.rs b/crates/hir_def/src/find_path.rs
index 317ca86ec..41da3bc2d 100644
--- a/crates/hir_def/src/find_path.rs
+++ b/crates/hir_def/src/find_path.rs
@@ -427,7 +427,6 @@ mod tests {
427 fn same_module() { 427 fn same_module() {
428 check_found_path( 428 check_found_path(
429 r#" 429 r#"
430//- /main.rs
431struct S; 430struct S;
432$0 431$0
433 "#, 432 "#,
@@ -442,7 +441,6 @@ $0
442 fn enum_variant() { 441 fn enum_variant() {
443 check_found_path( 442 check_found_path(
444 r#" 443 r#"
445//- /main.rs
446enum E { A } 444enum E { A }
447$0 445$0
448 "#, 446 "#,
@@ -457,7 +455,6 @@ $0
457 fn sub_module() { 455 fn sub_module() {
458 check_found_path( 456 check_found_path(
459 r#" 457 r#"
460//- /main.rs
461mod foo { 458mod foo {
462 pub struct S; 459 pub struct S;
463} 460}
@@ -619,7 +616,6 @@ pub mod ast {
619 fn same_crate_reexport() { 616 fn same_crate_reexport() {
620 check_found_path( 617 check_found_path(
621 r#" 618 r#"
622//- /main.rs
623mod bar { 619mod bar {
624 mod foo { pub(super) struct S; } 620 mod foo { pub(super) struct S; }
625 pub(crate) use foo::*; 621 pub(crate) use foo::*;
@@ -637,7 +633,6 @@ $0
637 fn same_crate_reexport_rename() { 633 fn same_crate_reexport_rename() {
638 check_found_path( 634 check_found_path(
639 r#" 635 r#"
640//- /main.rs
641mod bar { 636mod bar {
642 mod foo { pub(super) struct S; } 637 mod foo { pub(super) struct S; }
643 pub(crate) use foo::S as U; 638 pub(crate) use foo::S as U;
@@ -874,7 +869,6 @@ pub struct Arc;
874 #[test] 869 #[test]
875 fn builtins_are_in_scope() { 870 fn builtins_are_in_scope() {
876 let code = r#" 871 let code = r#"
877//- /main.rs
878$0 872$0
879 873
880pub mod primitive { 874pub mod primitive {