Skip to content

Commit 3afde98

Browse files
committedSep 6, 2018
Auto merge of #53705 - ms2300:tmp, r=varkor
#53576 Renaming TyAnon -> TyOpaque Fixes #53576
2 parents 20ca025 + 5648d07 commit 3afde98

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+229
-225
lines changed
 

‎src/librustc/ich/impls_ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ for ty::TyKind<'gcx>
881881
Projection(ref projection_ty) => {
882882
projection_ty.hash_stable(hcx, hasher);
883883
}
884-
Anon(def_id, substs) => {
884+
Opaque(def_id, substs) => {
885885
def_id.hash_stable(hcx, hasher);
886886
substs.hash_stable(hcx, hasher);
887887
}

‎src/librustc/infer/canonical/canonicalizer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ impl<'cx, 'gcx, 'tcx> TypeFolder<'gcx, 'tcx> for Canonicalizer<'cx, 'gcx, 'tcx>
285285
| ty::Projection(..)
286286
| ty::Foreign(..)
287287
| ty::Param(..)
288-
| ty::Anon(..) => {
288+
| ty::Opaque(..) => {
289289
if t.flags.intersects(self.needs_canonical_flags) {
290290
t.super_fold_with(self)
291291
} else {

0 commit comments

Comments
 (0)