Remove a redundant write_ty call

This commit is contained in:
Oli Scherer 2024-12-12 20:07:58 +00:00
parent 37e74596c0
commit b103347753

View file

@ -1104,7 +1104,6 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
if let Res::Local(hid) = res {
let ty = self.local_ty(span, hid);
let ty = self.normalize(span, ty);
self.write_ty(hir_id, ty);
return (ty, res);
}