diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2023-12-14 10:47:10 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2023-12-15 10:59:32 +1100 |
| commit | 315c0cf358b69fb2dd799025f682404a9a083d62 (patch) | |
| tree | b638c898712e7ca997ad14fb295ee09f4a1faa74 /compiler/rustc_pattern_analysis/src | |
| parent | 87cffb237774010e5761a07d884419e8993b2f45 (diff) | |
| download | rust-315c0cf358b69fb2dd799025f682404a9a083d62.tar.gz rust-315c0cf358b69fb2dd799025f682404a9a083d62.zip | |
coverage: Simplify parts of `InstrumentCoverage::run_pass`
Changes in this patch: - Extract local variable `def_id` - Check `is_fn_like` without retrieving HIR - Inline some locals that are used once and aren't needed for clarity
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
