aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-05-21 13:34:27 +0100
committerAleksey Kladov <[email protected]>2020-05-21 14:08:03 +0100
commitff28c79ebd4c5a9a27542917940def9d4e66eea6 (patch)
tree5f7ad3596397e1f52473cdb81f2671d1baca2528 /crates/ra_ide
parent4b495da368162a5b373d078be4ff51e55bffdf69 (diff)
Remove dead code for handling cursor positions
Diffstat (limited to 'crates/ra_ide')
-rw-r--r--crates/ra_ide/src/diagnostics.rs2
-rw-r--r--crates/ra_ide/src/lib.rs1
-rw-r--r--crates/ra_ide/src/references/rename.rs3
3 files changed, 0 insertions, 6 deletions
diff --git a/crates/ra_ide/src/diagnostics.rs b/crates/ra_ide/src/diagnostics.rs
index 54c2bcc09..c2819bbf7 100644
--- a/crates/ra_ide/src/diagnostics.rs
+++ b/crates/ra_ide/src/diagnostics.rs
@@ -628,7 +628,6 @@ mod tests {
628 path: "foo.rs", 628 path: "foo.rs",
629 }, 629 },
630 ], 630 ],
631 cursor_position: None,
632 is_snippet: false, 631 is_snippet: false,
633 }, 632 },
634 ), 633 ),
@@ -685,7 +684,6 @@ mod tests {
685 }, 684 },
686 ], 685 ],
687 file_system_edits: [], 686 file_system_edits: [],
688 cursor_position: None,
689 is_snippet: false, 687 is_snippet: false,
690 }, 688 },
691 ), 689 ),
diff --git a/crates/ra_ide/src/lib.rs b/crates/ra_ide/src/lib.rs
index 83cb498f7..1d7bacbf6 100644
--- a/crates/ra_ide/src/lib.rs
+++ b/crates/ra_ide/src/lib.rs
@@ -87,7 +87,6 @@ pub use ra_db::{
87pub use ra_ide_db::{ 87pub use ra_ide_db::{
88 change::{AnalysisChange, LibraryData}, 88 change::{AnalysisChange, LibraryData},
89 line_index::{LineCol, LineIndex}, 89 line_index::{LineCol, LineIndex},
90 line_index_utils::translate_offset_with_edit,
91 search::SearchScope, 90 search::SearchScope,
92 source_change::{FileSystemEdit, SourceChange, SourceFileEdit}, 91 source_change::{FileSystemEdit, SourceChange, SourceFileEdit},
93 symbol_index::Query, 92 symbol_index::Query,
diff --git a/crates/ra_ide/src/references/rename.rs b/crates/ra_ide/src/references/rename.rs
index 62ec8d85d..55c3319cb 100644
--- a/crates/ra_ide/src/references/rename.rs
+++ b/crates/ra_ide/src/references/rename.rs
@@ -669,7 +669,6 @@ mod tests {
669 dst_path: "bar/foo2.rs", 669 dst_path: "bar/foo2.rs",
670 }, 670 },
671 ], 671 ],
672 cursor_position: None,
673 is_snippet: false, 672 is_snippet: false,
674 }, 673 },
675 }, 674 },
@@ -722,7 +721,6 @@ mod tests {
722 dst_path: "foo2/mod.rs", 721 dst_path: "foo2/mod.rs",
723 }, 722 },
724 ], 723 ],
725 cursor_position: None,
726 is_snippet: false, 724 is_snippet: false,
727 }, 725 },
728 }, 726 },
@@ -819,7 +817,6 @@ mod tests {
819 dst_path: "bar/foo2.rs", 817 dst_path: "bar/foo2.rs",
820 }, 818 },
821 ], 819 ],
822 cursor_position: None,
823 is_snippet: false, 820 is_snippet: false,
824 }, 821 },
825 }, 822 },