Rename ast::Variant_::name
into ident
+ Fix rebase
This commit is contained in:
parent
43ad972318
commit
62000c072e
21 changed files with 30 additions and 38 deletions
|
@ -873,10 +873,8 @@ mod tests {
|
|||
== P(ast::Pat{
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
node: PatKind::Ident(ast::BindingMode::ByValue(ast::Mutability::Immutable),
|
||||
Spanned{ span:sp(0, 1),
|
||||
node: Ident::from_str("b")
|
||||
},
|
||||
None),
|
||||
Ident::new(Symbol::intern("b"), sp(0, 1)),
|
||||
None),
|
||||
span: sp(0,1)}));
|
||||
parser_done(parser);
|
||||
})
|
||||
|
@ -912,9 +910,7 @@ mod tests {
|
|||
node: PatKind::Ident(
|
||||
ast::BindingMode::ByValue(
|
||||
ast::Mutability::Immutable),
|
||||
Spanned{
|
||||
span: sp(6,7),
|
||||
node: Ident::from_str("b")},
|
||||
Ident::new(Symbol::intern("b"), sp(6, 7)),
|
||||
None
|
||||
),
|
||||
span: sp(6,7)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue