pub unsafe extern "C" fn LLVMRustUnpackSMDiagnostic(
    d: &SMDiagnostic,
    message_out: &RustString,
    buffer_out: &RustString,
    level_out: &mut DiagnosticLevel,
    loc_out: &mut c_uint,
    ranges_out: *mut c_uint,
    num_ranges: &mut usize
) -> bool