diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2024-12-12 20:07:58 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2024-12-18 11:06:23 +0000 |
| commit | b103347753f69e1ac23ea7b8e393628352cdfb13 (patch) | |
| tree | 2f7190684a74b6f15f11f745620a254557936f76 | |
| parent | 37e74596c0b59e81b9ac58657f92297ef4ccb7ef (diff) | |
| download | rust-b103347753f69e1ac23ea7b8e393628352cdfb13.tar.gz rust-b103347753f69e1ac23ea7b8e393628352cdfb13.zip | |
Remove a redundant write_ty call
| -rw-r--r-- | compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs b/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs index d6948081505..c3fe716163e 100644 --- a/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs +++ b/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs @@ -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); } |
