{"ast_node_type":"function","tokens":[{"end":52,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn necessary_variants(&self) -> Vec<DefId> {
    /// Returns variants that are necessary to exist for the pattern to match.
        let mut variants = vec![];