No more TyCtxt::lazy_normalization
This commit is contained in:
parent
794249d768
commit
4fbb43e70f
6 changed files with 8 additions and 14 deletions
|
@ -227,7 +227,7 @@ impl<'tcx> InferCtxt<'tcx> {
|
|||
return self.unify_const_variable(vid, a, relation.param_env());
|
||||
}
|
||||
(ty::ConstKind::Unevaluated(..), _) | (_, ty::ConstKind::Unevaluated(..))
|
||||
if self.tcx.lazy_normalization() =>
|
||||
if self.tcx.features().generic_const_exprs =>
|
||||
{
|
||||
relation.register_const_equate_obligation(a, b);
|
||||
return Ok(b);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue