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:
Andrea Pretto
2019-04-21 23:55:47 +02:00
parent 9144214958
commit 200032852b
3 changed files with 18 additions and 16 deletions

View File

@@ -14,12 +14,8 @@ use crate::{
generics::GenericParams,
expr::{scope::{ExprScopes, ScopeId}, PatId},
impl_block::ImplBlock,
<<<<<<< HEAD
path::Path,
Trait
=======
path::Path, Trait,
>>>>>>> complete_import: add new import resolver infrastructure with some hardcoded importable name.
};
#[derive(Debug, Clone, Default)]