-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Spurious additional lifetime appearing in printout of type involving HRT lifetimes #102392
Copy link
Copy link
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsP-lowLow priorityLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsP-lowLow priorityLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Type
Fields
Give feedbackNo fields configured for issues without a type.
“Related” to #102346, and #101280, as this, too, is about diagnostic printing of types with HRT lifetimes (unlike the former related issue, this issue is not a recent regression):
The way this type is displayed includes an additional superflous/confusing/wrong quantification of
'ain the innerfor. Correct would befor<'a> fn(for<'b> fn(&'b str, &'a str)), notfor<'a> fn(for<'b, 'a> fn(&'b str, &'a str)).cc @b-naber who is currently working on the above-mentioned “related” issues.
@rustbot label regression-from-stable-to-stable, E-needs-bisection
Regresses between 1.54 and 1.55:
1.54
1.55