]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/ty/wf.rs
Auto merge of #54743 - ljedrz:cleanup_ty_p2, r=zackmdavis
[rust.git] / src / librustc / ty / wf.rs
index e2cc55a693f3d0f9fd5b0c594eda6048c6d11fbe..7af838845cd61ee916677ff32ad37619bd5a3b4f 100644 (file)
@@ -289,6 +289,8 @@ fn compute(&mut self, ty0: Ty<'tcx>) -> bool {
                     self.compute_projection(data);
                 }
 
+                ty::UnnormalizedProjection(..) => bug!("only used with chalk-engine"),
+
                 ty::Adt(def, substs) => {
                     // WfNominalType
                     let obligations = self.nominal_obligations(def.did, substs);
@@ -519,7 +521,7 @@ pub fn object_region_bounds<'a, 'gcx, 'tcx>(
 {
     // Since we don't actually *know* the self type for an object,
     // this "open(err)" serves as a kind of dummy standin -- basically
-    // a skolemized type.
+    // a placeholder type.
     let open_ty = tcx.mk_infer(ty::FreshTy(0));
 
     let predicates = existential_predicates.iter().filter_map(|predicate| {