diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-03-17 15:47:33 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-03-17 15:48:37 +1100 |
| commit | adf2bb75ea4643d061a1c0933c7f3c8ea8f86808 (patch) | |
| tree | ca0bd1e36400e85a5d0f80f8b2d2aadf28bc3887 /compiler/rustc_error_messages/src | |
| parent | 6496d6943fbf152d54149797558dccb87434de31 (diff) | |
| download | rust-adf2bb75ea4643d061a1c0933c7f3c8ea8f86808.tar.gz rust-adf2bb75ea4643d061a1c0933c7f3c8ea8f86808.zip | |
Avoid double lowering of generic identifiers.
`lower_generic_bound_predicate` calls `lower_ident`, and then passes the lowered ident into `new_named_lifetime`, which lowers it again. This commit avoids the first lowering. This requires adding a `lower_ident` call on a path that doesn't involve `new_named_lifetime`.
Diffstat (limited to 'compiler/rustc_error_messages/src')
0 files changed, 0 insertions, 0 deletions
