pub type DiagnosticSink = Arc<dyn Fn(&Diagnostic) -> Result<()> + Send + Sync>;
Session-local observer shared by clones of one inline handle.
pub struct DiagnosticSink { /* private fields */ }