diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-03-17 15:23:05 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-03-17 15:36:01 +1100 |
| commit | fe4d14495f0d913033baf63c0af943583657450d (patch) | |
| tree | 072fe73a86588a4180ed8bc7d354c6e89928fb28 /compiler/rustc_pattern_analysis/src | |
| parent | 87457f6e00bf53119db370ba5ee9b95def9a617b (diff) | |
| download | rust-fe4d14495f0d913033baf63c0af943583657450d.tar.gz rust-fe4d14495f0d913033baf63c0af943583657450d.zip | |
Avoid double lowering of lifetime identifiers.
`LoweringContext::new_named_lifetime` lowers the `ident` passed in. Both of its call sites *also* lower `ident` *before* passing it in. I.e. both call sites cause the ident to be lowered twice. This commit removes the lowering at the two call sites, so the ident is only lowered once.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
