pub fn extract_patterns_from_stmt( stmt: &Stmt, ) -> Result<Vec<Pattern>, InferenceError>
Extract patterns from a single statement