@@ -164,7 +164,7 @@ fn main() {
164
164
165
165
[discrete]
166
166
=== `auto_import`
167
- **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/auto_import.rs#L64 [auto_import.rs]
167
+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/auto_import.rs#L67 [auto_import.rs]
168
168
169
169
If the name is unresolved, provides all possible imports for it.
170
170
@@ -280,7 +280,7 @@ fn qux(bar: Bar, baz: Baz) {}
280
280
281
281
[discrete]
282
282
=== `extract_struct_from_enum_variant`
283
- **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/extract_struct_from_enum_variant.rs#L18 [extract_struct_from_enum_variant.rs]
283
+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/extract_struct_from_enum_variant.rs#L19 [extract_struct_from_enum_variant.rs]
284
284
285
285
Extracts a struct from enum variant.
286
286
@@ -321,7 +321,7 @@ fn main() {
321
321
322
322
[discrete]
323
323
=== `fill_match_arms`
324
- **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/fill_match_arms.rs#L14 [fill_match_arms.rs]
324
+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/fill_match_arms.rs#L15 [fill_match_arms.rs]
325
325
326
326
Adds missing clauses to a `match` expression.
327
327
@@ -461,7 +461,7 @@ struct Point {
461
461
462
462
[discrete]
463
463
=== `generate_from_impl_for_enum`
464
- **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/generate_from_impl_for_enum.rs#L7 [generate_from_impl_for_enum.rs]
464
+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/generate_from_impl_for_enum.rs#L8 [generate_from_impl_for_enum.rs]
465
465
466
466
Adds a From impl for an enum variant with one tuple field.
467
467
@@ -566,7 +566,7 @@ impl<T: Clone> Ctx<T> {
566
566
567
567
[discrete]
568
568
=== `ignore_test`
569
- **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/ignore_test.rs#L5 [ignore_test.rs]
569
+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/ignore_test.rs#L8 [ignore_test.rs]
570
570
571
571
Adds `#[ignore]` attribute to the test.
572
572
@@ -725,7 +725,7 @@ fn main() {
725
725
726
726
[discrete]
727
727
=== `merge_imports`
728
- **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/merge_imports.rs#L15 [merge_imports.rs]
728
+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/merge_imports.rs#L13 [merge_imports.rs]
729
729
730
730
Merges two imports with a common prefix.
731
731
@@ -1089,7 +1089,7 @@ fn compute() -> Option<i32> { None }
1089
1089
1090
1090
[discrete]
1091
1091
=== `replace_qualified_name_with_use`
1092
- **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/replace_qualified_name_with_use.rs#L9 [replace_qualified_name_with_use.rs]
1092
+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/replace_qualified_name_with_use.rs#L7 [replace_qualified_name_with_use.rs]
1093
1093
1094
1094
Adds a use statement for a given fully-qualified name.
1095
1095
0 commit comments