remove TypeWellFormedFromEnv
This commit is contained in:
parent
c6fcbaae0f
commit
0c73b41cd6
23 changed files with 18 additions and 73 deletions
|
@ -983,8 +983,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
|
|||
ty::ClauseKind::RegionOutlives(_)
|
||||
| ty::ClauseKind::ConstArgHasType(..)
|
||||
| ty::ClauseKind::WellFormed(_)
|
||||
| ty::ClauseKind::ConstEvaluatable(_)
|
||||
| ty::ClauseKind::TypeWellFormedFromEnv(_) => {
|
||||
| ty::ClauseKind::ConstEvaluatable(_) => {
|
||||
bug!()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -551,7 +551,6 @@ fn trait_predicate_kind<'tcx>(
|
|||
| ty::PredicateKind::ClosureKind(..)
|
||||
| ty::PredicateKind::Clause(ty::ClauseKind::ConstEvaluatable(..))
|
||||
| ty::PredicateKind::ConstEquate(..)
|
||||
| ty::PredicateKind::Ambiguous
|
||||
| ty::PredicateKind::Clause(ty::ClauseKind::TypeWellFormedFromEnv(..)) => None,
|
||||
| ty::PredicateKind::Ambiguous => None,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,8 +53,7 @@ impl<'tcx> ExplicitPredicatesMap<'tcx> {
|
|||
| ty::ClauseKind::Projection(_)
|
||||
| ty::ClauseKind::ConstArgHasType(_, _)
|
||||
| ty::ClauseKind::WellFormed(_)
|
||||
| ty::ClauseKind::ConstEvaluatable(_)
|
||||
| ty::ClauseKind::TypeWellFormedFromEnv(_) => {}
|
||||
| ty::ClauseKind::ConstEvaluatable(_) => {}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue