extern {
    pub type DiagnosticHandler;
}