diff options
author | Benjamin Coenen <[email protected]> | 2020-05-24 15:47:35 +0100 |
---|---|---|
committer | Benjamin Coenen <[email protected]> | 2020-05-24 15:47:35 +0100 |
commit | 0e814a3b5f5c7d034b0249cfb4391d9fcb9d8e42 (patch) | |
tree | f83cdc8f32c9a0110fc695f47b5df5a6868f50af /crates/ra_hir/src | |
parent | f4f5fca10175b8d5fdfa36563c103f81b2b0acd3 (diff) |
fix textedit range returned for completion when left token is a keyword #4545
Signed-off-by: Benjamin Coenen <[email protected]>
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/code_model.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir/src/code_model.rs b/crates/ra_hir/src/code_model.rs index 840cfdfc8..7c015aa98 100644 --- a/crates/ra_hir/src/code_model.rs +++ b/crates/ra_hir/src/code_model.rs | |||
@@ -1363,6 +1363,7 @@ impl HirDisplay for Type { | |||
1363 | } | 1363 | } |
1364 | 1364 | ||
1365 | /// For IDE only | 1365 | /// For IDE only |
1366 | #[derive(Debug)] | ||
1366 | pub enum ScopeDef { | 1367 | pub enum ScopeDef { |
1367 | ModuleDef(ModuleDef), | 1368 | ModuleDef(ModuleDef), |
1368 | MacroDef(MacroDef), | 1369 | MacroDef(MacroDef), |