[breaking-change] don't glob export ast::Mutablity variants
This commit is contained in:
parent
14e09ad468
commit
73fa9b2da2
21 changed files with 87 additions and 73 deletions
|
@ -896,7 +896,7 @@ mod tests {
|
|||
assert!(panictry!(parser.parse_pat())
|
||||
== P(ast::Pat{
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
node: ast::PatIdent(ast::BindingMode::ByValue(ast::MutImmutable),
|
||||
node: ast::PatIdent(ast::BindingMode::ByValue(ast::Mutability::Immutable),
|
||||
Spanned{ span:sp(0, 1),
|
||||
node: str_to_ident("b")
|
||||
},
|
||||
|
@ -932,7 +932,7 @@ mod tests {
|
|||
pat: P(ast::Pat {
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
node: ast::PatIdent(
|
||||
ast::BindingMode::ByValue(ast::MutImmutable),
|
||||
ast::BindingMode::ByValue(ast::Mutability::Immutable),
|
||||
Spanned{
|
||||
span: sp(6,7),
|
||||
node: str_to_ident("b")},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue