rust/compiler/rustc_lint
bors e491d2b24d Auto merge of #105291 - nnethercote:remove-LintPassObjects, r=cjgillot
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.

r? `@cjgillot`
2022-12-07 03:52:19 +00:00
..
src Auto merge of #105291 - nnethercote:remove-LintPassObjects, r=cjgillot 2022-12-07 03:52:19 +00:00
Cargo.toml Update unicode-rs crates to Unicode 15 2022-09-17 01:55:56 +08:00