diff options
author | Geoffrey Copin <[email protected]> | 2020-04-09 23:35:43 +0100 |
---|---|---|
committer | Geoffrey Copin <[email protected]> | 2020-04-09 23:57:03 +0100 |
commit | 730a927c5e6b382690e88f482a03701636242a2c (patch) | |
tree | e148e93832b9b7c1ddedaaa4c5d10f80d07abec6 /crates/ra_hir_def/src | |
parent | 176f7f61175bc433c56083a758bd7a28a8ae31f8 (diff) |
Implement assist "Reorder field names"
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r-- | crates/ra_hir_def/src/body/lower.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/body/lower.rs b/crates/ra_hir_def/src/body/lower.rs index b0d71eb3d..80492b733 100644 --- a/crates/ra_hir_def/src/body/lower.rs +++ b/crates/ra_hir_def/src/body/lower.rs | |||
@@ -689,9 +689,10 @@ impl ExprCollector<'_> { | |||
689 | Pat::Missing | 689 | Pat::Missing |
690 | } | 690 | } |
691 | } | 691 | } |
692 | |||
693 | // FIXME: implement | 692 | // FIXME: implement |
694 | ast::Pat::BoxPat(_) | ast::Pat::RangePat(_) | ast::Pat::MacroPat(_) => Pat::Missing, | 693 | ast::Pat::BoxPat(_) | ast::Pat::RangePat(_) | ast::Pat::MacroPat(_) => Pat::Missing, |
694 | // FIXME: implement | ||
695 | ast::Pat::RecordFieldPat(_) => Pat::Missing, | ||
695 | }; | 696 | }; |
696 | let ptr = AstPtr::new(&pat); | 697 | let ptr = AstPtr::new(&pat); |
697 | self.alloc_pat(pattern, Either::Left(ptr)) | 698 | self.alloc_pat(pattern, Either::Left(ptr)) |