Module rustc_mir_build::thir::pattern::check_match
source · Macros
Structs
Enums
Constants
- LIMIT 🔒
Functions
- Point at the definition of non-covered
enum
variants. - Check that there are no borrow or move conflicts in
binding @ subpat
patterns. - Check if a by-value binding is by-value. That is, check if the binding’s type is not
Copy
. - Report that a match is not exhaustive.
- Checks for common cases of “catchall” patterns that may not be intended as such.
- Report unreachable arms, if any.