pub unsafe extern "C" fn LLVMRustGetSMDiagnostic<'a>(
    DI: &'a DiagnosticInfo,
    cookie_out: &mut c_uint
) -> &'a SMDiagnostic