Skip to main content

Module checks

Module checks 

Source
Expand description

Contains checks that must be run to validate matches before performing usefulness analysis.

Re-exportsΒ§

use crate::pat_column::PatternColumn; πŸ”’
use crate::MatchArm; πŸ”’
use crate::PatCx; πŸ”’
use crate::constructor::Constructor::*; πŸ”’

FunctionsΒ§

detect_mixed_deref_pat_ctors πŸ”’
Validate that deref patterns and normal constructors aren’t used to match on the same place.
detect_mixed_deref_pat_ctors_inner πŸ”’