make the eval() functions on our const types return the resulting value
This commit is contained in:
parent
e5fedceabf
commit
6e4779ab17
16 changed files with 167 additions and 245 deletions
|
@ -761,7 +761,7 @@ impl<'a, 'b, 'tcx> TypeFolder<TyCtxt<'tcx>> for AssocTypeNormalizer<'a, 'b, 'tcx
|
|||
self.selcx.infcx,
|
||||
&mut self.universes,
|
||||
constant,
|
||||
|constant| constant.eval(tcx, self.param_env),
|
||||
|constant| constant.normalize(tcx, self.param_env),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue