aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/body
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-31 19:04:40 +0100
committerAleksey Kladov <[email protected]>2020-07-31 19:04:40 +0100
commitd7f75db90d99216c13000681ff2c4a887451c4b2 (patch)
tree5e5a61ed573a41ed6cddddc1a676676d2d70180b /crates/ra_hir_def/src/body
parent14cb96ec0e6be3b99bfe4ea373c058dcbd2a4f79 (diff)
Reorder
Diffstat (limited to 'crates/ra_hir_def/src/body')
-rw-r--r--crates/ra_hir_def/src/body/lower.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/body/lower.rs b/crates/ra_hir_def/src/body/lower.rs
index 25e29b7cd..ef1c0df01 100644
--- a/crates/ra_hir_def/src/body/lower.rs
+++ b/crates/ra_hir_def/src/body/lower.rs
@@ -786,7 +786,6 @@ impl ExprCollector<'_> {
786 ast::Pat::PlaceholderPat(_) => Pat::Wild, 786 ast::Pat::PlaceholderPat(_) => Pat::Wild,
787 ast::Pat::RecordPat(p) => { 787 ast::Pat::RecordPat(p) => {
788 let path = p.path().and_then(|path| self.expander.parse_path(path)); 788 let path = p.path().and_then(|path| self.expander.parse_path(path));
789
790 let args: Vec<_> = p 789 let args: Vec<_> = p
791 .record_pat_field_list() 790 .record_pat_field_list()
792 .expect("every struct should have a field list") 791 .expect("every struct should have a field list")