Revert "Use Predicate ConstraintCategory when normalizing"
This reverts commit aae37f8763
.
This commit is contained in:
parent
df34db9b03
commit
bba514b7b4
14 changed files with 15 additions and 172 deletions
|
@ -48,11 +48,10 @@ impl<'cx, 'tcx> AtExt<'tcx> for At<'cx, 'tcx> {
|
|||
T: TypeFoldable<'tcx>,
|
||||
{
|
||||
debug!(
|
||||
"normalize::<{}>(value={:?}, param_env={:?}, cause={:?})",
|
||||
"normalize::<{}>(value={:?}, param_env={:?})",
|
||||
std::any::type_name::<T>(),
|
||||
value,
|
||||
self.param_env,
|
||||
self.cause,
|
||||
);
|
||||
if !needs_normalization(&value, self.param_env.reveal()) {
|
||||
return Ok(Normalized { value, obligations: vec![] });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue