diff options
author | Kirill Bulatov <[email protected]> | 2021-03-03 21:59:56 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2021-03-08 21:59:20 +0000 |
commit | 5b7d928075f3bedf71f754444c1532976d52eae4 (patch) | |
tree | d348d675ba5efbbe50e27b22971b3e14664cdc53 /crates/ide_assists/src/handlers | |
parent | 24a5d3b19dfa3e076df8b7413d0cc4a547aeb7d7 (diff) |
Enforce the located imports' order
Diffstat (limited to 'crates/ide_assists/src/handlers')
-rw-r--r-- | crates/ide_assists/src/handlers/auto_import.rs | 2 | ||||
-rw-r--r-- | crates/ide_assists/src/handlers/qualify_path.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide_assists/src/handlers/auto_import.rs b/crates/ide_assists/src/handlers/auto_import.rs index f3c969eee..eb8d35e95 100644 --- a/crates/ide_assists/src/handlers/auto_import.rs +++ b/crates/ide_assists/src/handlers/auto_import.rs | |||
@@ -245,7 +245,7 @@ mod tests { | |||
245 | } | 245 | } |
246 | ", | 246 | ", |
247 | r" | 247 | r" |
248 | use PubMod1::PubStruct; | 248 | use PubMod3::PubStruct; |
249 | 249 | ||
250 | PubStruct | 250 | PubStruct |
251 | 251 | ||
diff --git a/crates/ide_assists/src/handlers/qualify_path.rs b/crates/ide_assists/src/handlers/qualify_path.rs index 407ba47be..b36dd3823 100644 --- a/crates/ide_assists/src/handlers/qualify_path.rs +++ b/crates/ide_assists/src/handlers/qualify_path.rs | |||
@@ -317,7 +317,7 @@ mod tests { | |||
317 | } | 317 | } |
318 | ", | 318 | ", |
319 | r" | 319 | r" |
320 | PubMod1::PubStruct | 320 | PubMod3::PubStruct |
321 | 321 | ||
322 | pub mod PubMod1 { | 322 | pub mod PubMod1 { |
323 | pub struct PubStruct; | 323 | pub struct PubStruct; |