mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-30 03:27:44 +00:00
cargo fmt
This commit is contained in:
parent
87f837cec7
commit
7535bb4661
571 changed files with 2210 additions and 2458 deletions
|
|
@ -4,28 +4,29 @@ use arrayvec::ArrayVec;
|
|||
use ast::HasName;
|
||||
use cfg::{CfgAtom, CfgExpr};
|
||||
use hir::{
|
||||
db::HirDatabase, sym, symbols::FxIndexSet, AsAssocItem, AttrsWithOwner, HasAttrs, HasCrate,
|
||||
HasSource, HirFileIdExt, ModPath, Name, PathKind, Semantics, Symbol,
|
||||
AsAssocItem, AttrsWithOwner, HasAttrs, HasCrate, HasSource, HirFileIdExt, ModPath, Name,
|
||||
PathKind, Semantics, Symbol, db::HirDatabase, sym, symbols::FxIndexSet,
|
||||
};
|
||||
use ide_assists::utils::{has_test_related_attribute, test_related_attribute_syn};
|
||||
use ide_db::{
|
||||
FilePosition, FxHashMap, FxIndexMap, RootDatabase, SymbolKind,
|
||||
base_db::RootQueryDb,
|
||||
defs::Definition,
|
||||
documentation::docs_from_attrs,
|
||||
helpers::visit_file_defs,
|
||||
search::{FileReferenceNode, SearchScope},
|
||||
FilePosition, FxHashMap, FxIndexMap, RootDatabase, SymbolKind,
|
||||
};
|
||||
use itertools::Itertools;
|
||||
use smallvec::SmallVec;
|
||||
use span::{Edition, TextSize};
|
||||
use stdx::format_to;
|
||||
use syntax::{
|
||||
SmolStr, SyntaxNode, ToSmolStr,
|
||||
ast::{self, AstNode},
|
||||
format_smolstr, SmolStr, SyntaxNode, ToSmolStr,
|
||||
format_smolstr,
|
||||
};
|
||||
|
||||
use crate::{references, FileId, NavigationTarget, ToNav, TryToNav};
|
||||
use crate::{FileId, NavigationTarget, ToNav, TryToNav, references};
|
||||
|
||||
#[derive(Debug, Clone, Hash, PartialEq, Eq)]
|
||||
pub struct Runnable {
|
||||
|
|
@ -752,7 +753,7 @@ impl UpdateTest {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use expect_test::{expect, Expect};
|
||||
use expect_test::{Expect, expect};
|
||||
|
||||
use crate::fixture;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue