TypeWellFormedInEnv
This commit is contained in:
parent
fbdef58414
commit
374173cd99
26 changed files with 75 additions and 74 deletions
|
@ -31,7 +31,8 @@ pub fn explicit_outlives_bounds<'tcx>(
|
|||
| ty::ClauseKind::Projection(_)
|
||||
| ty::ClauseKind::ConstArgHasType(_, _)
|
||||
| ty::ClauseKind::WellFormed(_)
|
||||
| ty::ClauseKind::ConstEvaluatable(_) => None,
|
||||
| ty::ClauseKind::ConstEvaluatable(_)
|
||||
| ty::ClauseKind::TypeWellFormedFromEnv(_) => None,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -368,7 +368,7 @@ impl<'tcx, O: Elaboratable<'tcx>> Elaborator<'tcx, O> {
|
|||
.map(|predicate| elaboratable.child(predicate)),
|
||||
);
|
||||
}
|
||||
ty::PredicateKind::TypeWellFormedFromEnv(..) => {
|
||||
ty::PredicateKind::Clause(ty::ClauseKind::TypeWellFormedFromEnv(..)) => {
|
||||
// Nothing to elaborate
|
||||
}
|
||||
ty::PredicateKind::Ambiguous => {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue