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/integrated_benchmarks.rs | |
parent | 5fd9f6c7b9944638e4781e3d9384638942f84456 (diff) |
Replace ImportGranularity::Guess with guessing boolean flag
Diffstat (limited to 'crates/rust-analyzer/src/integrated_benchmarks.rs')
-rw-r--r-- | crates/rust-analyzer/src/integrated_benchmarks.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/integrated_benchmarks.rs b/crates/rust-analyzer/src/integrated_benchmarks.rs index cd0b8d559..781073fe5 100644 --- a/crates/rust-analyzer/src/integrated_benchmarks.rs +++ b/crates/rust-analyzer/src/integrated_benchmarks.rs | |||
@@ -138,6 +138,7 @@ fn integrated_completion_benchmark() { | |||
138 | insert_use: InsertUseConfig { | 138 | insert_use: InsertUseConfig { |
139 | granularity: ImportGranularity::Crate, | 139 | granularity: ImportGranularity::Crate, |
140 | prefix_kind: hir::PrefixKind::ByCrate, | 140 | prefix_kind: hir::PrefixKind::ByCrate, |
141 | enforce_granularity: true, | ||
141 | group: true, | 142 | group: true, |
142 | }, | 143 | }, |
143 | }; | 144 | }; |
@@ -171,6 +172,7 @@ fn integrated_completion_benchmark() { | |||
171 | insert_use: InsertUseConfig { | 172 | insert_use: InsertUseConfig { |
172 | granularity: ImportGranularity::Crate, | 173 | granularity: ImportGranularity::Crate, |
173 | prefix_kind: hir::PrefixKind::ByCrate, | 174 | prefix_kind: hir::PrefixKind::ByCrate, |
175 | enforce_granularity: true, | ||
174 | group: true, | 176 | group: true, |
175 | }, | 177 | }, |
176 | }; | 178 | }; |