diff options
| author | bors <bors@rust-lang.org> | 2019-11-11 14:05:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-11-11 14:05:43 +0000 |
| commit | 56237d75b4271a8a2e0f47d86ea76ebf6d966152 (patch) | |
| tree | e366c30e3259745368805637ed6a44deb6c64314 /src/librustc_codegen_utils | |
| parent | 9248b019b22224b6d99cc504edd50bd9ed015d3f (diff) | |
| parent | 76128f89a118ecd0fc2a69965e8a459105119c95 (diff) | |
Auto merge of #66252 - cjgillot:trees, r=oli-obk
Merge repeated definitions Step forward on #66149 I may need further context to understand the need for a separate crate. Also, please tell me if you think of other definitions to merge.
Diffstat (limited to 'src/librustc_codegen_utils')
| -rw-r--r-- | src/librustc_codegen_utils/symbol_names/v0.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustc_codegen_utils/symbol_names/v0.rs b/src/librustc_codegen_utils/symbol_names/v0.rs index 0fe4c7c6748..1dfcc21f390 100644 --- a/src/librustc_codegen_utils/symbol_names/v0.rs +++ b/src/librustc_codegen_utils/symbol_names/v0.rs @@ -373,8 +373,8 @@ impl Printer<'tcx> for SymbolMangler<'tcx> { ty::Ref(r, ty, mutbl) => { self.push(match mutbl { - hir::MutImmutable => "R", - hir::MutMutable => "Q", + hir::Mutability::Immutable => "R", + hir::Mutability::Mutable => "Q", }); if *r != ty::ReErased { self = r.print(self)?; @@ -384,8 +384,8 @@ impl Printer<'tcx> for SymbolMangler<'tcx> { ty::RawPtr(mt) => { self.push(match mt.mutbl { - hir::MutImmutable => "P", - hir::MutMutable => "O", + hir::Mutability::Immutable => "P", + hir::Mutability::Mutable => "O", }); self = mt.ty.print(self)?; } |
