fix textedit range returned for completion when left token is a keyword #4545

Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
This commit is contained in:
Benjamin Coenen 2020-05-24 16:47:35 +02:00
parent f4f5fca101
commit 0e814a3b5f
3 changed files with 46 additions and 1 deletions

View file

@ -1363,6 +1363,7 @@ impl HirDisplay for Type {
}
/// For IDE only
#[derive(Debug)]
pub enum ScopeDef {
ModuleDef(ModuleDef),
MacroDef(MacroDef),