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/ide_assists | |
parent | 5fd9f6c7b9944638e4781e3d9384638942f84456 (diff) |
Replace ImportGranularity::Guess with guessing boolean flag
Diffstat (limited to 'crates/ide_assists')
-rw-r--r-- | crates/ide_assists/src/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ide_assists/src/tests.rs b/crates/ide_assists/src/tests.rs index bb1ca0b3d..1739302bf 100644 --- a/crates/ide_assists/src/tests.rs +++ b/crates/ide_assists/src/tests.rs | |||
@@ -26,6 +26,7 @@ pub(crate) const TEST_CONFIG: AssistConfig = AssistConfig { | |||
26 | insert_use: InsertUseConfig { | 26 | insert_use: InsertUseConfig { |
27 | granularity: ImportGranularity::Crate, | 27 | granularity: ImportGranularity::Crate, |
28 | prefix_kind: hir::PrefixKind::Plain, | 28 | prefix_kind: hir::PrefixKind::Plain, |
29 | enforce_granularity: true, | ||
29 | group: true, | 30 | group: true, |
30 | }, | 31 | }, |
31 | }; | 32 | }; |