Auto merge of #30460 - Ms2ger:BindingMode, r=alexcrichton
This commit is contained in:
@@ -892,7 +892,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")
|
||||
},
|
||||
@@ -928,7 +928,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")},
|
||||
|
||||
Reference in New Issue
Block a user