1. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.
2. mir::Mutability -> ast::Mutability.
This commit is contained in:
parent
01a46509a4
commit
a7aec3f207
91 changed files with 292 additions and 319 deletions
|
|
@ -141,7 +141,7 @@ fn iter_exprs(depth: usize, f: &mut dyn FnMut(P<Expr>)) {
|
|||
15 => {
|
||||
iter_exprs(
|
||||
depth - 1,
|
||||
&mut |e| g(ExprKind::AddrOf(BorrowKind::Ref, Mutability::Immutable, e)),
|
||||
&mut |e| g(ExprKind::AddrOf(BorrowKind::Ref, Mutability::Not, e)),
|
||||
);
|
||||
},
|
||||
16 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue