pub fn bubble_types(pat: At<Pat>, in_enum: bool) -> (At<Pat>, Option<At<Pat>>)
Bubbles up type annotations from within a pattern to the top level.