]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_typeck/check/expr.rs
Rename resolve_type_vars_with_obligations to
[rust.git] / src / librustc_typeck / check / expr.rs
index ad46a443b8ffa9e886969f8409266a13d30b4d7a..f5f85bbcb100c4bb7028de09dfc20380326dbc4b 100644 (file)
@@ -1010,7 +1010,7 @@ fn check_expr_tuple(
         expr: &'tcx hir::Expr,
     ) -> Ty<'tcx> {
         let flds = expected.only_has_type(self).and_then(|ty| {
-            let ty = self.resolve_type_vars_with_obligations(ty);
+            let ty = self.resolve_vars_with_obligations(ty);
             match ty.kind {
                 ty::Tuple(ref flds) => Some(&flds[..]),
                 _ => None