diff options
Diffstat (limited to 'crates/ra_hir/src/expr')
-rw-r--r-- | crates/ra_hir/src/expr/lower.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/crates/ra_hir/src/expr/lower.rs b/crates/ra_hir/src/expr/lower.rs index 01b770149..f6a75a379 100644 --- a/crates/ra_hir/src/expr/lower.rs +++ b/crates/ra_hir/src/expr/lower.rs | |||
@@ -20,9 +20,8 @@ use crate::{ | |||
20 | }; | 20 | }; |
21 | 21 | ||
22 | use super::{ | 22 | use super::{ |
23 | ArithOp, Array, BinaryOp, BindingAnnotation, Body, BodySourceMap, CmpOp, Expr, ExprId, | 23 | ArithOp, Array, BinaryOp, BindingAnnotation, Body, BodySourceMap, CmpOp, Expr, ExprId, Literal, |
24 | Literal, LogicOp, MatchArm, Ordering, Pat, PatId, PatPtr, RecordFieldPat, RecordLitField, | 24 | LogicOp, MatchArm, Ordering, Pat, PatId, PatPtr, RecordFieldPat, RecordLitField, Statement, |
25 | Statement, | ||
26 | }; | 25 | }; |
27 | 26 | ||
28 | pub(crate) struct ExprCollector<DB> { | 27 | pub(crate) struct ExprCollector<DB> { |
@@ -504,7 +503,7 @@ where | |||
504 | }); | 503 | }); |
505 | fields.extend(iter); | 504 | fields.extend(iter); |
506 | 505 | ||
507 | Pat::Struct { path, args: fields } | 506 | Pat::Record { path, args: fields } |
508 | } | 507 | } |
509 | 508 | ||
510 | // FIXME: implement | 509 | // FIXME: implement |