fixup! Exhaustiveness checking opaque patterns

This commit is contained in:
ayazhafiz 2022-02-27 00:13:27 -05:00
parent 34900c1f55
commit a7825c34f5

View file

@ -2038,8 +2038,6 @@ fn pattern_to_when<'a>(
(symbol, Loc::at_zero(wrapped_body))
}
UnwrappedOpaque { .. } => todo_opaques!(),
IntLiteral(..)
| NumLiteral(..)
| FloatLiteral(..)