mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Fix test imports
This commit is contained in:
parent
0509a0a34e
commit
ee76e6141e
1 changed files with 4 additions and 2 deletions
|
@ -293,12 +293,14 @@ pub fn translate_offset_with_edit(
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
|
||||||
use crate::line_index;
|
|
||||||
use proptest::{prelude::*, proptest};
|
use proptest::{prelude::*, proptest};
|
||||||
use ra_text_edit::test_utils::{arb_offset, arb_text_with_edit};
|
use ra_text_edit::test_utils::{arb_offset, arb_text_with_edit};
|
||||||
use ra_text_edit::TextEdit;
|
use ra_text_edit::TextEdit;
|
||||||
|
|
||||||
|
use crate::ide_db::line_index;
|
||||||
|
|
||||||
|
use super::*;
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
struct ArbTextWithEditAndOffset {
|
struct ArbTextWithEditAndOffset {
|
||||||
text: String,
|
text: String,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue