1
Fork 0

remove lazy_normalization_consts

This commit is contained in:
Ellen 2021-08-25 13:31:18 +01:00 committed by lcnr
parent fcc2badf9b
commit c0e853f274
16 changed files with 10 additions and 114 deletions

View file

@ -678,7 +678,7 @@ impl<'tcx> TypeRelatingDelegate<'tcx> for QueryTypeRelatingDelegate<'_, 'tcx> {
fn const_equate(&mut self, _a: &'tcx Const<'tcx>, _b: &'tcx Const<'tcx>) {
span_bug!(
self.cause.span(self.infcx.tcx),
"lazy_normalization_consts: unreachable `const_equate`"
"generic_const_exprs: unreachable `const_equate`"
);
}