{"ast_node_type":"function","tokens":[{"end":70,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn err(self, msg: impl Into<DiagMessage>) -> ErrorGuaranteed {
    #[track_caller]
        self.struct_err(msg).emit()