1
Fork 0

don't normalize wf predicates

this allows us to soundly use unnormalized projections for wf
This commit is contained in:
lcnr 2022-07-13 19:42:08 +02:00
parent 8d1fa7105b
commit f25cb83296
26 changed files with 226 additions and 102 deletions

View file

@ -187,7 +187,7 @@ pub enum GenericKind<'tcx> {
/// }
/// ```
/// This is described with an `AnyRegion('a, 'b)` node.
#[derive(Debug, Clone)]
#[derive(Debug, Clone, TypeFoldable, TypeVisitable)]
pub enum VerifyBound<'tcx> {
/// See [`VerifyIfEq`] docs
IfEq(ty::Binder<'tcx, VerifyIfEq<'tcx>>),