-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spurious additional lifetime appearing in printout of type involving HRT lifetimes #102392
Comments
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-low |
Bisection seems to indicate this group of PRs in the range
but due to the age I could not pinpoint a specific nightly. Also, as pointed out in the previous comment at some point the diagnostic changed and decided to use another wording ( @rustbot label -E-needs-bisection |
Looking through this list, #87246 seems likely. |
…h726 Don't repeat lifetime names from outer binder in print Fixes rust-lang#102392 Fixes rust-lang#102414 r? `@lcnr`
…h726 Don't repeat lifetime names from outer binder in print Fixes rust-lang#102392 Fixes rust-lang#102414 r? ``@lcnr``
“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
'a
in 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
The text was updated successfully, but these errors were encountered: