diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2019-11-09 17:44:11 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2019-11-10 12:21:05 +0100 |
| commit | ed640c6a27aca3b2446ab8d6f00df0a2d78f1192 (patch) | |
| tree | 16c570be6f3cdb3cb4d20dde9588d59d00ed502b /src/librustc_codegen_ssa/debuginfo | |
| parent | 57a5f92bef4b459005920f1aeff05a52c7e356b0 (diff) | |
Merge hir::Mutability into ast::Mutability.
Diffstat (limited to 'src/librustc_codegen_ssa/debuginfo')
| -rw-r--r-- | src/librustc_codegen_ssa/debuginfo/type_names.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_codegen_ssa/debuginfo/type_names.rs b/src/librustc_codegen_ssa/debuginfo/type_names.rs index f40b942b1e3..8ff08e832dc 100644 --- a/src/librustc_codegen_ssa/debuginfo/type_names.rs +++ b/src/librustc_codegen_ssa/debuginfo/type_names.rs @@ -62,8 +62,8 @@ pub fn push_debuginfo_type_name<'tcx>( output.push('*'); } match mutbl { - hir::MutImmutable => output.push_str("const "), - hir::MutMutable => output.push_str("mut "), + hir::Mutability::Immutable => output.push_str("const "), + hir::Mutability::Mutable => output.push_str("mut "), } push_debuginfo_type_name(tcx, inner_type, true, output, visited); |
