-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Anon lifetime in impl Trait
no longer suggests adding a lifetime parameter
#100615
Comments
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-high |
self-assigning to ensure we record a cargo-bisect to the injecting PR |
I went ahead and attempted a bisection. The breadcrumbs seem to lead to rollup of #99231 with possibly #97720 being the patchset where this issue originates cc @cjgillot ? searched nightlies: from nightly-2022-07-13 to nightly-2022-07-15 bisected with cargo-bisect-rustc v0.6.3Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --start 2022-07-13 --end 2022-07-15 --preserve |
I'm not sure what would be wrong after @cjgillot change. I think this is exactly the support Camille has added. If you use |
Added an explanation in #85417 (comment). |
Visited during last weeks' T-compiler meeting on Zulip, relaying Felix's comment here for visibility: @cjgillot are you planning to put back the suggestion? Alternatively, do you think that might be a nice small task for a new contributor to pick up? |
This should be an easy enough task for a new contributor. Summary instructions:
|
Hello, I would like to work on this. So far I've been able to get this kind of output
with the input found in the original message. I am looping over all generic params and checking if the full I'm looking for a few pointers on:
|
@Stoozy could you open a PR with what you have and tag me? Discussing on code will be more concrete and easier. |
@Stoozy Another friendly tip: when you want to undertake an issue, you should claim the issue first to prevent duplicated effort (Write the command shown below in the target issue as a comment to assign urself). Thanks. |
@Stoozy can you call |
@rustbot claim |
Trying to suggest additional lifetime parameter `@cjgillot` This is what I have so far for rust-lang#100615
Trying to suggest additional lifetime parameter ``@cjgillot`` This is what I have so far for rust-lang#100615
Closed by #102323? Or is there more to do? |
Given
fn foo(_: impl Iterator<Item = &u32>) {}
.In 1.63:
In 1.64:
The text was updated successfully, but these errors were encountered: