aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/references.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide/src/references.rs')
-rw-r--r--crates/ide/src/references.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/references.rs b/crates/ide/src/references.rs
index 157e0dc94..e0830eb4f 100644
--- a/crates/ide/src/references.rs
+++ b/crates/ide/src/references.rs
@@ -194,7 +194,7 @@ mod tests {
194 use expect_test::{expect, Expect}; 194 use expect_test::{expect, Expect};
195 use stdx::format_to; 195 use stdx::format_to;
196 196
197 use crate::{mock_analysis::analysis_and_position, SearchScope}; 197 use crate::{fixture, SearchScope};
198 198
199 #[test] 199 #[test]
200 fn test_struct_literal_after_space() { 200 fn test_struct_literal_after_space() {
@@ -674,7 +674,7 @@ fn g() { f(); }
674 } 674 }
675 675
676 fn check_with_scope(ra_fixture: &str, search_scope: Option<SearchScope>, expect: Expect) { 676 fn check_with_scope(ra_fixture: &str, search_scope: Option<SearchScope>, expect: Expect) {
677 let (analysis, pos) = analysis_and_position(ra_fixture); 677 let (analysis, pos) = fixture::position(ra_fixture);
678 let refs = analysis.find_all_refs(pos, search_scope).unwrap().unwrap(); 678 let refs = analysis.find_all_refs(pos, search_scope).unwrap().unwrap();
679 679
680 let mut actual = String::new(); 680 let mut actual = String::new();