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
#[rustc_dummy]