syntax_data: {"ast_node_type":"function","tokens":[{"end":59,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet:     pub fn early_warn(&self, msg: impl Into<DiagMessage>) {
context_before:     #[allow(rustc::diagnostic_outside_of_impl)]
context_after:         self.dcx.handle().warn(msg)