1
Fork 0

Rename ast::Variant_::name into ident + Fix rebase

This commit is contained in:
Vadim Petrochenkov 2018-03-19 01:21:30 +03:00
parent 43ad972318
commit 62000c072e
21 changed files with 30 additions and 38 deletions

View file

@ -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)