mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
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:
parent
f4f5fca101
commit
0e814a3b5f
3 changed files with 46 additions and 1 deletions
|
@ -1363,6 +1363,7 @@ impl HirDisplay for Type {
|
|||
}
|
||||
|
||||
/// For IDE only
|
||||
#[derive(Debug)]
|
||||
pub enum ScopeDef {
|
||||
ModuleDef(ModuleDef),
|
||||
MacroDef(MacroDef),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue