Skip to content

Commit e1648bd

Browse files
committed
Switched from canonicalize_query to canonicalize_response
1 parent 692a931 commit e1648bd

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_typeck/check

1 file changed

+1
-1
lines changed

src/librustc_typeck/check/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ impl<'a, 'gcx, 'tcx> Visitor<'gcx> for GatherLocalsVisitor<'a, 'gcx, 'tcx> {
963963
Some(ref ty) => {
964964
let o_ty = self.fcx.to_ty(&ty);
965965

966-
let (c_ty, _orig_values) = self.fcx.inh.infcx.canonicalize_query(&o_ty);
966+
let (c_ty, _orig_values) = self.fcx.inh.infcx.canonicalize_response(&o_ty);
967967
debug!("visit_local: ty.hir_id={:?} o_ty={:?} c_ty={:?}", ty.hir_id, o_ty, c_ty);
968968
self.fcx.tables.borrow_mut().user_provided_tys_mut().insert(ty.hir_id, c_ty);
969969

0 commit comments

Comments
 (0)