mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-27 20:35:09 +00:00
Get rid of unused imports
This commit is contained in:
parent
503f9498cd
commit
36128c170d
2 changed files with 3 additions and 10 deletions
|
@ -1,11 +1,8 @@
|
||||||
use ra_syntax::{
|
use ra_syntax::{
|
||||||
ast::{self, NameOwner, VisibilityOwner},
|
ast::{self, NameOwner, VisibilityOwner},
|
||||||
AstNode,
|
AstNode,
|
||||||
SyntaxKind::{
|
SyntaxKind::{CONST_DEF, ENUM_DEF, FN_DEF, MODULE, STRUCT_DEF, TRAIT_DEF, VISIBILITY},
|
||||||
ATTR, COMMENT, CONST_DEF, ENUM_DEF, FN_DEF, MODULE, STRUCT_DEF, TRAIT_DEF, VISIBILITY,
|
T,
|
||||||
WHITESPACE,
|
|
||||||
},
|
|
||||||
SyntaxNode, TextSize, T,
|
|
||||||
};
|
};
|
||||||
use test_utils::mark;
|
use test_utils::mark;
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
use hir::{db::HirDatabase, HasSource, HasVisibility, PathResolution};
|
use hir::{db::HirDatabase, HasSource, HasVisibility, PathResolution};
|
||||||
use ra_db::FileId;
|
use ra_db::FileId;
|
||||||
use ra_syntax::{
|
use ra_syntax::{ast, AstNode, TextRange, TextSize};
|
||||||
ast, AstNode,
|
|
||||||
SyntaxKind::{ATTR, COMMENT, WHITESPACE},
|
|
||||||
SyntaxNode, TextRange, TextSize,
|
|
||||||
};
|
|
||||||
|
|
||||||
use crate::{utils::vis_offset, AssistContext, AssistId, Assists};
|
use crate::{utils::vis_offset, AssistContext, AssistId, Assists};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue