check_mod_attrs
This reverts commit d78b22f35e. Those changes were incompatible with incremental compilation since the effect `check_mod_attrs` has with respect to marking the attributes as used is neither persisted nor recomputed.
d78b22f35e
#[repr(no_niche)]
syntax_pos
rustc_span
overlapping_marker_traits