diff options
author | bors <bors@rust-lang.org> | 2022-12-07 03:52:19 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-12-07 03:52:19 +0000 |
commit | e491d2b24da8c11c902bb836d189590600f26caf (patch) | |
tree | 14440ff39683b7593b49d6cd55ea6c3c0051d11b /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | d43674e2c9b1a7b134ef76378c30e822c75c9aa1 (diff) | |
parent | 8980d9a76d68f1b75f104c955aaafb0b0d0d58bc (diff) | |
download | rust-e491d2b24da8c11c902bb836d189590600f26caf.tar.gz |
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`
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions