Simply skip emitting it if the list of blocklisted types/items matches its name.
Also add a test that verifies blocklisting anonymous types by _bindgen_ty_* works as expected – which could be used to prevent similar conflicts between generated type names for anonymous types.
Closes #2835
Simply skip emitting it if the list of blocklisted types/items matches its name.
Also add a test that verifies blocklisting anonymous types by
_bindgen_ty_*
works as expected – which could be used to prevent similar conflicts between generated type names for anonymous types.