Skip to content

Commit b103347

Browse files
committed
Remove a redundant write_ty call
1 parent 37e7459 commit b103347

File tree

1 file changed

+0
-1
lines changed
  • compiler/rustc_hir_typeck/src/fn_ctxt

1 file changed

+0
-1
lines changed

compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,6 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
11041104
if let Res::Local(hid) = res {
11051105
let ty = self.local_ty(span, hid);
11061106
let ty = self.normalize(span, ty);
1107-
self.write_ty(hir_id, ty);
11081107
return (ty, res);
11091108
}
11101109

0 commit comments

Comments
 (0)