Stop re-exporting the ast::BindingMode variants.
This commit is contained in:
parent
f963eb2870
commit
143b9d80d0
9 changed files with 26 additions and 27 deletions
|
@ -890,7 +890,7 @@ mod tests {
|
|||
assert!(panictry!(parser.parse_pat())
|
||||
== P(ast::Pat{
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
node: ast::PatIdent(ast::BindByValue(ast::MutImmutable),
|
||||
node: ast::PatIdent(ast::BindingMode::ByValue(ast::MutImmutable),
|
||||
Spanned{ span:sp(0, 1),
|
||||
node: str_to_ident("b")
|
||||
},
|
||||
|
@ -926,7 +926,7 @@ mod tests {
|
|||
pat: P(ast::Pat {
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
node: ast::PatIdent(
|
||||
ast::BindByValue(ast::MutImmutable),
|
||||
ast::BindingMode::ByValue(ast::MutImmutable),
|
||||
Spanned{
|
||||
span: sp(6,7),
|
||||
node: str_to_ident("b")},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue