rust/compiler
Nicholas Nethercote 8980d9a76d Remove {Early,Late}LintPassObjects.
`EarlyContextAndPass` wraps a single early lint pass. We aggregate
multiple passes into that single pass by using `EarlyLintPassObjects`.

This commit removes `EarlyLintPassObjects` by changing
`EarlyContextAndPass` into `EarlyContextAndPasses`. I.e. it just removes
a level of indirection. This makes the code simpler and slightly faster.

The commit does likewise for late lints.
2022-12-05 19:50:10 +11:00
..
rustc
rustc_abi Rollup merge of #105050 - WaffleLapkin:uselessrefign, r=jyn514 2022-12-03 17:37:42 +01:00
rustc_apfloat
rustc_arena
rustc_ast Rollup merge of #105142 - nbdd0121:inline_const, r=petrochenkov 2022-12-04 11:38:51 +01:00
rustc_ast_lowering Rollup merge of #104199 - SarthakSingh31:issue-97417-1, r=cjgillot 2022-12-03 17:37:41 +01:00
rustc_ast_passes
rustc_ast_pretty Rollup merge of #105050 - WaffleLapkin:uselessrefign, r=jyn514 2022-12-03 17:37:42 +01:00
rustc_attr
rustc_baked_icu_data
rustc_borrowck
rustc_builtin_macros Rollup merge of #104614 - Nilstrieb:type-ascribe!, r=TaKO8Ki 2022-12-02 08:28:08 +01:00
rustc_codegen_cranelift Auto merge of #97485 - bjorn3:new_archive_writer, r=wesleywiser 2022-12-03 15:07:39 +00:00
rustc_codegen_gcc Auto merge of #97485 - bjorn3:new_archive_writer, r=wesleywiser 2022-12-03 15:07:39 +00:00
rustc_codegen_llvm Auto merge of #105218 - matthiaskrgr:rollup-8d3k08n, r=matthiaskrgr 2022-12-03 21:25:45 +00:00
rustc_codegen_ssa Auto merge of #104535 - mikebenfield:discr-fix, r=pnkfelix 2022-12-04 20:05:32 +00:00
rustc_const_eval Rollup merge of #105136 - RalfJung:deref-promotion-comment, r=oli-obk 2022-12-02 08:28:10 +01:00
rustc_data_structures Auto merge of #105218 - matthiaskrgr:rollup-8d3k08n, r=matthiaskrgr 2022-12-03 21:25:45 +00:00
rustc_driver Remove -Zno-interleave-lints. 2022-12-02 13:59:28 +11:00
rustc_error_codes
rustc_error_messages
rustc_errors Rollup merge of #101975 - chenyukang:fix-101749, r=compiler-errors 2022-12-04 16:25:32 +01:00
rustc_expand Rollup merge of #104199 - SarthakSingh31:issue-97417-1, r=cjgillot 2022-12-03 17:37:41 +01:00
rustc_feature
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #105050 - WaffleLapkin:uselessrefign, r=jyn514 2022-12-03 17:37:42 +01:00
rustc_hir_analysis Auto merge of #104920 - compiler-errors:avoid-infcx-build, r=jackh726 2022-12-05 02:51:06 +00:00
rustc_hir_pretty Rollup merge of #104199 - SarthakSingh31:issue-97417-1, r=cjgillot 2022-12-03 17:37:41 +01:00
rustc_hir_typeck Auto merge of #104920 - compiler-errors:avoid-infcx-build, r=jackh726 2022-12-05 02:51:06 +00:00
rustc_incremental
rustc_index
rustc_infer Rollup merge of #105188 - compiler-errors:verbose-ty-err, r=TaKO8Ki 2022-12-03 12:51:30 +09:00
rustc_interface Remove -Zno-interleave-lints. 2022-12-02 13:59:28 +11:00
rustc_lexer
rustc_lint Remove {Early,Late}LintPassObjects. 2022-12-05 19:50:10 +11:00
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros
rustc_metadata
rustc_middle Auto merge of #105121 - oli-obk:simpler-cheaper-dump_mir, r=nnethercote 2022-12-04 05:47:10 +00:00
rustc_mir_build Auto merge of #105121 - oli-obk:simpler-cheaper-dump_mir, r=nnethercote 2022-12-04 05:47:10 +00:00
rustc_mir_dataflow
rustc_mir_transform Auto merge of #105121 - oli-obk:simpler-cheaper-dump_mir, r=nnethercote 2022-12-04 05:47:10 +00:00
rustc_monomorphize
rustc_parse Rollup merge of #105141 - ohno418:fix-ice-on-invalid-var-decl-in-macro-call, r=compiler-errors 2022-12-04 16:25:32 +01:00
rustc_parse_format
rustc_passes
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system
rustc_resolve Rollup merge of #101975 - chenyukang:fix-101749, r=compiler-errors 2022-12-04 16:25:32 +01:00
rustc_save_analysis
rustc_serialize
rustc_session Rollup merge of #105050 - WaffleLapkin:uselessrefign, r=jyn514 2022-12-03 17:37:42 +01:00
rustc_smir
rustc_span Rollup merge of #105050 - WaffleLapkin:uselessrefign, r=jyn514 2022-12-03 17:37:42 +01:00
rustc_symbol_mangling
rustc_target Rollup merge of #105123 - BlackHoleFox:fixing-the-macos-deployment, r=oli-obk 2022-12-04 11:38:51 +01:00
rustc_trait_selection Auto merge of #104920 - compiler-errors:avoid-infcx-build, r=jackh726 2022-12-05 02:51:06 +00:00
rustc_traits
rustc_transmute
rustc_ty_utils
rustc_type_ir