]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/ty/wf.rs
Rename *shallow_resolve to *shallow_resolve_type
[rust.git] / src / librustc / ty / wf.rs
index b793b37fb2ae109e5f9ed0dd7ae43585af246a2b..c8ee3fd482b3f618f1c6c97f77fd8ccbb380161d 100644 (file)
@@ -406,7 +406,7 @@ fn compute(&mut self, ty0: Ty<'tcx>) -> bool {
                 //    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;