This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit adf2bb7
committed
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`.1 parent 6496d69 commit adf2bb7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1720 | 1720 | | |
1721 | 1721 | | |
1722 | 1722 | | |
1723 | | - | |
1724 | 1723 | | |
1725 | 1724 | | |
1726 | 1725 | | |
| |||
1739 | 1738 | | |
1740 | 1739 | | |
1741 | 1740 | | |
| 1741 | + | |
1742 | 1742 | | |
1743 | 1743 | | |
1744 | 1744 | | |
| |||
0 commit comments