mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
complete_import: prevent panic when the anchor is the completion source range
(fix rebase mess) Please enter the commit message for your changes. Lines starting
This commit is contained in:
parent
9144214958
commit
200032852b
3 changed files with 18 additions and 16 deletions
|
@ -19,11 +19,7 @@ use ra_syntax::{
|
|||
|
||||
use crate::{
|
||||
HirDatabase, Function, Struct, Enum, Const, Static, Either, DefWithBody, PerNs, Name,
|
||||
<<<<<<< HEAD
|
||||
AsName, Module, HirFileId, Crate, Trait, Resolver, Ty,
|
||||
=======
|
||||
AsName, Module, HirFileId, Crate, Trait, Resolver, ImportResolver,
|
||||
>>>>>>> complete_import: add new import resolver infrastructure with some hardcoded importable name.
|
||||
AsName, Module, HirFileId, Crate, Trait, Resolver, Ty, ImportResolver,
|
||||
expr::{BodySourceMap, scope::{ScopeId, ExprScopes}},
|
||||
ids::LocationCtx,
|
||||
expr, AstId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue