mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
cleanup
This commit is contained in:
parent
0f5d62a3f3
commit
9b2847885d
1 changed files with 2 additions and 3 deletions
|
@ -1,11 +1,10 @@
|
|||
//! Completion of names from the current scope, e.g. locals and imported items.
|
||||
|
||||
use hir::ScopeDef;
|
||||
use hir::{Adt, ModuleDef, ScopeDef, Type};
|
||||
use ra_syntax::AstNode;
|
||||
use test_utils::mark;
|
||||
|
||||
use crate::completion::{CompletionContext, Completions};
|
||||
use hir::{Adt, ModuleDef, Type};
|
||||
use ra_syntax::AstNode;
|
||||
|
||||
pub(super) fn complete_unqualified_path(acc: &mut Completions, ctx: &CompletionContext) {
|
||||
if !(ctx.is_trivial_path || ctx.is_pat_binding_or_const) {
|
||||
|
|
Loading…
Reference in a new issue