mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-17 02:08:30 +00:00
Cleanup imports
This commit is contained in:
parent
71f6d58e31
commit
e9643ab74c
1 changed files with 6 additions and 4 deletions
|
@ -3,15 +3,17 @@
|
|||
//! This module uses a bit of static metadata to provide completions
|
||||
//! for built-in attributes.
|
||||
|
||||
use super::completion_context::CompletionContext;
|
||||
use super::completion_item::{CompletionItem, CompletionItemKind, CompletionKind, Completions};
|
||||
use ast::AttrInput;
|
||||
use ra_syntax::{
|
||||
ast::{self, AttrKind},
|
||||
ast::{self, AttrInput, AttrKind},
|
||||
AstNode, SyntaxKind,
|
||||
};
|
||||
use rustc_hash::FxHashSet;
|
||||
|
||||
use crate::completion::{
|
||||
completion_context::CompletionContext,
|
||||
completion_item::{CompletionItem, CompletionItemKind, CompletionKind, Completions},
|
||||
};
|
||||
|
||||
pub(super) fn complete_attribute(acc: &mut Completions, ctx: &CompletionContext) -> Option<()> {
|
||||
let attribute = ctx.attribute_under_caret.as_ref()?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue