mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
use recrod terminology for hir::Pat
This commit is contained in:
parent
db69d134fb
commit
48ffbf29b7
3 changed files with 7 additions and 8 deletions
|
@ -20,9 +20,8 @@ use crate::{
|
|||
};
|
||||
|
||||
use super::{
|
||||
ArithOp, Array, BinaryOp, BindingAnnotation, Body, BodySourceMap, CmpOp, Expr, ExprId,
|
||||
Literal, LogicOp, MatchArm, Ordering, Pat, PatId, PatPtr, RecordFieldPat, RecordLitField,
|
||||
Statement,
|
||||
ArithOp, Array, BinaryOp, BindingAnnotation, Body, BodySourceMap, CmpOp, Expr, ExprId, Literal,
|
||||
LogicOp, MatchArm, Ordering, Pat, PatId, PatPtr, RecordFieldPat, RecordLitField, Statement,
|
||||
};
|
||||
|
||||
pub(crate) struct ExprCollector<DB> {
|
||||
|
@ -504,7 +503,7 @@ where
|
|||
});
|
||||
fields.extend(iter);
|
||||
|
||||
Pat::Struct { path, args: fields }
|
||||
Pat::Record { path, args: fields }
|
||||
}
|
||||
|
||||
// FIXME: implement
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue