{"ast_node_type":"other","tokens":[{"end":46,"kind":"keyword","start":0,"text":"if"}]}
        if matches!(safety, Safety::Safe(_)) {
    fn check_fn_ptr_safety(&self, span: Span, safety: Safety) {
            self.dcx().emit_err(errors::InvalidSafetyOnFnPtr { span });