Skip to content

fix: Fix a panic when a trait method in an impl declares a lifetime parameter not in the trait declaration #19613

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

Merged
merged 1 commit into from
Apr 18, 2025

Conversation

ChayimFriedman2
Copy link
Contributor

@ChayimFriedman2 ChayimFriedman2 commented Apr 16, 2025

Shuffle the code a bit.

Fixes #19607.

I'm not entirely sure what happens is correct - why don't the substitution contain a lifetime? but too tired to think.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 16, 2025
@ChayimFriedman2 ChayimFriedman2 changed the title fixL Fix a panic when a trait method in an impl declares a lifetime parameter not in the trait declaration fix: Fix a panic when a trait method in an impl declares a lifetime parameter not in the trait declaration Apr 17, 2025
@ChayimFriedman2 ChayimFriedman2 marked this pull request as draft April 17, 2025 17:05
…ter not in the trait declaration

Shuffle the code a bit.
@ChayimFriedman2 ChayimFriedman2 marked this pull request as ready for review April 18, 2025 03:28
@Veykril Veykril added this pull request to the merge queue Apr 18, 2025
Merged via the queue into rust-lang:master with commit a09a550 Apr 18, 2025
14 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the subst branch April 19, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request textDocument/hover failed.
3 participants