syntax_data: {"ast_node_type":"other","tokens":[{"end":61,"kind":"keyword","start":0,"text":"}"}]}
source_snippet:             } else if cx.is_foreign_non_exhaustive_enum(ty) {
context_before:                 err.note("`&str` cannot be matched exhaustively, so a wildcard `_` is necessary");
context_after:                 err.note(format!("`{ty}` is marked as non-exhaustive, so a wildcard `_` is necessary to match exhaustively"));