{"ast_node_type":"other","tokens":[{"end":34,"kind":"keyword","start":0,"text":"if"}]}
        if err.code == Some(E0423)
        // '=' maybe a typo of `:`, which is a type annotation instead of assignment
            && let Some((let_span, None, Some(val_span))) = self.diag_metadata.current_let_binding