{"ast_node_type":"function","tokens":[{"end":89,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn new_with_messages(level: Level, messages: Vec<(DiagMessage, Style)>) -> Self {
    #[track_caller]
        DiagInner {