diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-12-09 14:15:26 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-12-12 08:59:27 +1100 |
| commit | 4ff5a3655f1e7bed94d847f6888a2c0659aba276 (patch) | |
| tree | 91841931c3108d27071d548086276a1de54b8b5d /compiler/rustc_parse/src/errors.rs | |
| parent | 3c53781800e50b2abc72c5b1542400eff48a8126 (diff) | |
| download | rust-4ff5a3655f1e7bed94d847f6888a2c0659aba276.tar.gz rust-4ff5a3655f1e7bed94d847f6888a2c0659aba276.zip | |
Speed up the "builtin lints only" case.
This commit partly undoes #104863, which combined the builtin lints pass with other lints. This caused a slowdown, because often there are no other lints, and it's faster to do a pass with a single lint directly than it is to do a combined pass with a `passes` vector containing a single lint.
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
