diff options
author | Aleksey Kladov <[email protected]> | 2019-09-03 06:59:09 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-09-03 06:59:09 +0100 |
commit | 48ffbf29b799d4d2897d84f9902230e138b3c540 (patch) | |
tree | ccd24ff11c1c2074f74d4a9ad266384894c81817 /crates/ra_hir/src/expr | |
parent | db69d134fba98cd43929cde3287fe083bd0d5d57 (diff) |
use recrod terminology for hir::Pat
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 |