#[no_mangle]
pub unsafe extern "C" fn ttbc_diag_finish(
    es: &mut CoreBridgeState<'_>,
    diag: *mut Diagnostic
)
Expand description

“Finish” a diagnostic: report it to the driver and free the diagnostic object.

§Safety

This function is unsafe because it dereferences a raw Diagnostic pointer