1
Fork 0

Enforce diverging let...else

This commit is contained in:
Cameron Steffen 2021-07-30 11:30:12 -05:00
parent cb4439a315
commit 2f4e86b9ef
4 changed files with 33 additions and 5 deletions

View file

@ -305,6 +305,9 @@ pub enum ObligationCauseCode<'tcx> {
/// Intrinsic has wrong type
IntrinsicType,
/// A let else block does not diverge
LetElse,
/// Method receiver
MethodReceiver,