mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
allow rustfmt to reorder imports
This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
This commit is contained in:
parent
2b2cd829b0
commit
1834bae5b8
166 changed files with 798 additions and 814 deletions
|
@ -1,6 +1,6 @@
|
|||
use crate::{line_index::Utf16Char, LineCol, LineIndex};
|
||||
use ra_syntax::{TextRange, TextUnit};
|
||||
use ra_text_edit::{AtomTextEdit, TextEdit};
|
||||
use ra_syntax::{TextUnit, TextRange};
|
||||
use crate::{LineIndex, LineCol, line_index::Utf16Char};
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
enum Step {
|
||||
|
@ -292,8 +292,8 @@ pub fn translate_offset_with_edit(
|
|||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
use proptest::{prelude::*, proptest};
|
||||
use crate::line_index;
|
||||
use proptest::{prelude::*, proptest};
|
||||
use ra_text_edit::test_utils::{arb_offset, arb_text_with_edit};
|
||||
use ra_text_edit::TextEdit;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue