pub const Diagnostics = union
pub const Diagnostics = union {
none: void,
/// Contains the index of the second resource in a duplicate resource pair.
duplicate_resource: usize,
/// Contains the index of the resource that either has data that's too long or
/// caused the total data to overflow.
overflow_resource: usize,
}