Stand-in lifetime names for printing HRTs doesn’t avoid name collisions. #101280
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
E.g.
chooses the lifetime name “
'r
” for the fn-pointer type of the argumentf
and printsHowever, rewriting the code into
does not currently make the compiler reconsider the choice of “
'r
” in the lifetime name, resulting in an unhelpful error messageThe text was updated successfully, but these errors were encountered: