report_mismatch did not actually report anymore

This commit is contained in:
Oli Scherer 2024-02-22 14:24:25 +00:00
parent e3021eb245
commit e4622e0608
5 changed files with 15 additions and 11 deletions

View file

@ -840,7 +840,7 @@ pub struct OpaqueHiddenType<'tcx> {
}
impl<'tcx> OpaqueHiddenType<'tcx> {
pub fn report_mismatch(
pub fn build_mismatch_error(
&self,
other: &Self,
opaque_def_id: LocalDefId,