aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api_light
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api_light')
-rw-r--r--crates/ra_ide_api_light/Cargo.toml4
-rw-r--r--crates/ra_ide_api_light/src/line_index.rs2
-rw-r--r--crates/ra_ide_api_light/src/line_index_utils.rs2
3 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_ide_api_light/Cargo.toml b/crates/ra_ide_api_light/Cargo.toml
index 922245390..c1e4314ce 100644
--- a/crates/ra_ide_api_light/Cargo.toml
+++ b/crates/ra_ide_api_light/Cargo.toml
@@ -16,5 +16,5 @@ ra_text_edit = { path = "../ra_text_edit" }
16 16
17[dev-dependencies] 17[dev-dependencies]
18test_utils = { path = "../test_utils" } 18test_utils = { path = "../test_utils" }
19proptest = "0.8.7" 19proptest = "0.9.0"
20insta = "0.5.1" 20insta = "0.6.1"
diff --git a/crates/ra_ide_api_light/src/line_index.rs b/crates/ra_ide_api_light/src/line_index.rs
index 898fee7e0..131737743 100644
--- a/crates/ra_ide_api_light/src/line_index.rs
+++ b/crates/ra_ide_api_light/src/line_index.rs
@@ -154,7 +154,7 @@ pub fn to_line_col(text: &str, offset: TextUnit) -> LineCol {
154#[cfg(test)] 154#[cfg(test)]
155mod test_line_index { 155mod test_line_index {
156 use super::*; 156 use super::*;
157 use proptest::{prelude::*, proptest, proptest_helper}; 157 use proptest::{prelude::*, proptest};
158 use ra_text_edit::test_utils::{arb_text, arb_offset}; 158 use ra_text_edit::test_utils::{arb_text, arb_offset};
159 159
160 #[test] 160 #[test]
diff --git a/crates/ra_ide_api_light/src/line_index_utils.rs b/crates/ra_ide_api_light/src/line_index_utils.rs
index ec3269bbb..5d9ab6fd2 100644
--- a/crates/ra_ide_api_light/src/line_index_utils.rs
+++ b/crates/ra_ide_api_light/src/line_index_utils.rs
@@ -320,7 +320,7 @@ pub fn translate_offset_with_edit(
320#[cfg(test)] 320#[cfg(test)]
321mod test { 321mod test {
322 use super::*; 322 use super::*;
323 use proptest::{prelude::*, proptest, proptest_helper}; 323 use proptest::{prelude::*, proptest};
324 use crate::line_index; 324 use crate::line_index;
325 use ra_text_edit::test_utils::{arb_offset, arb_text_with_edit}; 325 use ra_text_edit::test_utils::{arb_offset, arb_text_with_edit};
326 use ra_text_edit::TextEdit; 326 use ra_text_edit::TextEdit;