Remove a bunch of diagnostic stashing that doesn't do anything
This commit is contained in:
parent
fb65a3ee57
commit
85c9ce6d79
22 changed files with 177 additions and 185 deletions
|
@ -575,7 +575,7 @@ fn sanity_check_found_hidden_type<'tcx>(
|
|||
} else {
|
||||
let span = tcx.def_span(key.def_id);
|
||||
let other = ty::OpaqueHiddenType { ty: hidden_ty, span };
|
||||
Err(ty.build_mismatch_error(&other, key.def_id, tcx)?.emit())
|
||||
Err(ty.build_mismatch_error(&other, tcx)?.emit())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue