about summary refs log tree commit diff
path: root/src/librustc_front/lowering.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_front/lowering.rs')
-rw-r--r--src/librustc_front/lowering.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_front/lowering.rs b/src/librustc_front/lowering.rs
index d04f4c96504..e9dfa1bd164 100644
--- a/src/librustc_front/lowering.rs
+++ b/src/librustc_front/lowering.rs
@@ -427,8 +427,8 @@ pub fn lower_explicit_self_underscore(lctx: &LoweringContext,
 
 pub fn lower_mutability(_lctx: &LoweringContext, m: Mutability) -> hir::Mutability {
     match m {
-        MutMutable => hir::MutMutable,
-        MutImmutable => hir::MutImmutable,
+        Mutability::Mutable => hir::MutMutable,
+        Mutability::Immutable => hir::MutImmutable,
     }
 }