rustc_
mir_
build
1.86.0-beta.7
(7824ede68 2025-03-22)
In rustc_
mir_
build::
thir::
pattern::
check_
match
Structs
MatchVisitor
Enums
LetSource
RefutableFlag
Functions
check_borrow_conflicts_in_at_patterns
check_for_bindings_named_same_as_variants
check_match
check_never_pattern
collect_special_tys
find_fallback_pattern_typo
joined_uncovered_patterns
maybe_point_at_variant
pat_is_catchall
report_adt_defined_here
report_arm_reachability
report_irrefutable_let_patterns
report_non_exhaustive_match
report_unreachable_pattern
rustc_mir_build
::
thir
::
pattern
::
check_match
Function
check_match
Copy item path
Settings
Help
Summary
Source
pub(crate) fn check_match( tcx:
TyCtxt
<'_>, def_id:
LocalDefId
, ) ->
Result
<
()
,
ErrorGuaranteed
>