syntax_data: {"ast_node_type":"other","tokens":[{"end":50,"kind":"keyword","start":0,"text":"if"}]}
source_snippet:                     if !variant.is_uninhabited() {
context_before:                     // Ensure all inhabited variants are accounted for.
context_after:                         assert!(idx == *untagged_variant || niche_variants.contains(&idx));