Module rustc_mir::hair::pattern::check_match [−][src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Structs
AtBindingPatternVisitor |
[ Experimental ]
|
MatchVisitor |
[ Experimental ]
|
MutationChecker |
[ Experimental ]
|
OuterVisitor |
[ Experimental ]
|
Functions
check_arms |
[ Experimental ]
|
check_crate |
[ Experimental ]
|
check_exhaustive |
[ Experimental ]
|
check_for_bindings_named_the_same_as_variants |
[ Experimental ]
|
check_for_mutation_in_guard |
[ Experimental ] Ensures that a pattern guard doesn't borrow by mutable reference or assign. |
check_legality_of_bindings_in_at_patterns |
[ Experimental ] Forbids bindings in |
check_legality_of_move_bindings |
[ Experimental ]
|
check_match |
[ Experimental ]
|
create_e0004 |
[ Experimental ]
|
pat_is_catchall |
[ Experimental ] Checks for common cases of "catchall" patterns that may not be intended as such. |