diff options
author | Lukas Tobias Wirth <[email protected]> | 2021-05-18 19:21:47 +0100 |
---|---|---|
committer | Lukas Tobias Wirth <[email protected]> | 2021-05-19 14:57:10 +0100 |
commit | b4fe479236f592fcbfa1422dda54253b77d8b0e1 (patch) | |
tree | 0ce721228484783514b8948a0a64e3e4ca38ea95 /crates/rust-analyzer/src/to_proto.rs | |
parent | 5fd9f6c7b9944638e4781e3d9384638942f84456 (diff) |
Replace ImportGranularity::Guess with guessing boolean flag
Diffstat (limited to 'crates/rust-analyzer/src/to_proto.rs')
-rw-r--r-- | crates/rust-analyzer/src/to_proto.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/to_proto.rs b/crates/rust-analyzer/src/to_proto.rs index 64d5f9e2e..ef9e0aee9 100644 --- a/crates/rust-analyzer/src/to_proto.rs +++ b/crates/rust-analyzer/src/to_proto.rs | |||
@@ -1179,6 +1179,7 @@ mod tests { | |||
1179 | insert_use: InsertUseConfig { | 1179 | insert_use: InsertUseConfig { |
1180 | granularity: ImportGranularity::Item, | 1180 | granularity: ImportGranularity::Item, |
1181 | prefix_kind: PrefixKind::Plain, | 1181 | prefix_kind: PrefixKind::Plain, |
1182 | enforce_granularity: true, | ||
1182 | group: true, | 1183 | group: true, |
1183 | }, | 1184 | }, |
1184 | }, | 1185 | }, |