syntax_data: {"ast_node_type":"function","tokens":[{"end":94,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet:     pub fn add_intercrate_ambiguity_hint<G: EmissionGuarantee>(&self, err: &mut Diag<'_, G>) {
context_before:     /// See #23980 for details.
context_after:         err.note(self.intercrate_ambiguity_hint());