Function rustc_mir_build::thir::pattern::usefulness::lint_overlapping_range_endpoints
source · fn lint_overlapping_range_endpoints<'p, 'tcx>(
cx: &MatchCheckCtxt<'p, 'tcx>,
column: &PatternColumn<'p, 'tcx>
)Expand description
Traverse the patterns to warn the user about ranges that overlap on their endpoints.