about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-12-16 17:28:40 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-12-20 22:22:44 +0100
commita7aec3f207fb40f0c4c857fb91a03372ac8bcd69 (patch)
treee38449760063595a6d65b15f5beadbf8d76094d4 /src/test
parent01a46509a4c2dc430ebebf940a26232fdaeeba81 (diff)
downloadrust-a7aec3f207fb40f0c4c857fb91a03372ac8bcd69.tar.gz
rust-a7aec3f207fb40f0c4c857fb91a03372ac8bcd69.zip
1. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.
2. mir::Mutability -> ast::Mutability.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui-fulldeps/pprust-expr-roundtrip.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui-fulldeps/pprust-expr-roundtrip.rs b/src/test/ui-fulldeps/pprust-expr-roundtrip.rs
index f19d13ff5c5..0c050e31413 100644
--- a/src/test/ui-fulldeps/pprust-expr-roundtrip.rs
+++ b/src/test/ui-fulldeps/pprust-expr-roundtrip.rs
@@ -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 => {