Auto merge of #98542 - jackh726:coinductive-wf, r=oli-obk
Make empty bounds lower to `WellFormed` and make `WellFormed` coinductive r? rust-lang/types
This commit is contained in:
commit
116edb6800
8 changed files with 130 additions and 26 deletions
|
@ -154,6 +154,7 @@ where
|
|||
}
|
||||
ControlFlow::CONTINUE
|
||||
}
|
||||
ty::PredicateKind::WellFormed(arg) => arg.visit_with(self),
|
||||
_ => bug!("unexpected predicate: {:?}", predicate),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue