// moving. (Goal is that an "inductive hypothesis"
// is satisfied to ensure termination.)
ty::Infer(_) => {
- let ty = self.infcx.shallow_resolve(ty);
+ let ty = self.infcx.shallow_resolve_type(ty);
if let ty::Infer(_) = ty.sty { // not yet resolved...
if ty == ty0 { // ...this is the type we started from! no progress.
return false;