Remove a bunch of diagnostic stashing that doesn't do anything

This commit is contained in:
Michael Goulet 2025-01-11 19:22:02 +00:00
parent fb65a3ee57
commit 85c9ce6d79
22 changed files with 177 additions and 185 deletions

View file

@ -152,7 +152,6 @@ impl<'tcx> RegionInferenceContext<'tcx> {
let (Ok(e) | Err(e)) = prev
.build_mismatch_error(
&OpaqueHiddenType { ty, span: concrete_type.span },
opaque_type_key.def_id,
infcx.tcx,
)
.map(|d| d.emit());