pub fn check_mod_attrs<'tcx>(_: TyCtxt<'tcx>, _: &check_mod_attrs<'tcx>) -> bool