{"ast_node_type":"variable","tokens":[{"end":87,"kind":"keyword","start":0,"text":"if"}]}
        if let Some(pattern_resolved) = self.rule.pattern.resolved_paths.get(pattern) {
    ) -> Result<(), MatchFailed> {
            let pattern_path = ast::Path::cast(pattern.clone()).unwrap();