mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +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
|
@ -14,19 +14,19 @@ mod complete_postfix;
|
|||
|
||||
use ra_db::SourceDatabase;
|
||||
|
||||
use crate::{
|
||||
db,
|
||||
FilePosition,
|
||||
completion::{
|
||||
completion_item::{Completions, CompletionKind},
|
||||
completion_context::CompletionContext,
|
||||
},
|
||||
|
||||
};
|
||||
#[cfg(test)]
|
||||
use crate::completion::completion_item::{do_completion, check_completion};
|
||||
use crate::completion::completion_item::{check_completion, do_completion};
|
||||
use crate::{
|
||||
completion::{
|
||||
completion_context::CompletionContext,
|
||||
completion_item::{CompletionKind, Completions},
|
||||
},
|
||||
db, FilePosition,
|
||||
};
|
||||
|
||||
pub use crate::completion::completion_item::{CompletionItem, CompletionItemKind, InsertTextFormat};
|
||||
pub use crate::completion::completion_item::{
|
||||
CompletionItem, CompletionItemKind, InsertTextFormat,
|
||||
};
|
||||
|
||||
/// Main entry point for completion. We run completion as a two-phase process.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue