diff --git a/crates/ra_ide_api_light/src/line_index.rs b/crates/ra_ide_api_light/src/line_index.rs index 898fee7e00..1317377434 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 { #[cfg(test)] mod test_line_index { use super::*; - use proptest::{prelude::*, proptest, proptest_helper}; + use proptest::{prelude::*, proptest}; use ra_text_edit::test_utils::{arb_text, arb_offset}; #[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 ec3269bbba..5d9ab6fd27 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( #[cfg(test)] mod test { use super::*; - use proptest::{prelude::*, proptest, proptest_helper}; + use proptest::{prelude::*, proptest}; use crate::line_index; use ra_text_edit::test_utils::{arb_offset, arb_text_with_edit}; use ra_text_edit::TextEdit;