Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/highlight_related.rs')
-rw-r--r--crates/ide/src/highlight_related.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ide/src/highlight_related.rs b/crates/ide/src/highlight_related.rs
index acba573cc0..fce033382b 100644
--- a/crates/ide/src/highlight_related.rs
+++ b/crates/ide/src/highlight_related.rs
@@ -7,8 +7,8 @@ use ide_db::{
helpers::pick_best_token,
search::{FileReference, ReferenceCategory, SearchScope},
syntax_helpers::node_ext::{
- eq_label_lt, for_each_tail_expr, full_path_of_name_ref, is_closure_or_blk_with_modif,
- preorder_expr_with_ctx_checker,
+ eq_label_lt, find_loops, for_each_tail_expr, full_path_of_name_ref,
+ is_closure_or_blk_with_modif, preorder_expr_with_ctx_checker,
},
};
use syntax::{
@@ -562,7 +562,7 @@ pub(crate) fn highlight_break_points(
Some(highlights)
}
- let Some(loops) = goto_definition::find_loops(sema, &token) else {
+ let Some(loops) = find_loops(sema, &token) else {
return FxHashMap::default();
};