Skip to content

Do not default to 'static for trait object lifetimes #20036

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
Jun 24, 2025

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Jun 18, 2025

We lack trait object default lifetime elision, so 'static can be wrong at times, confusing the user

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 18, 2025
@Veykril Veykril enabled auto-merge June 18, 2025 12:29
@Veykril Veykril force-pushed the push-yquvoyrxkksx branch 2 times, most recently from aaa5e80 to 521d33b Compare June 19, 2025 10:22
We lack trait object default lifetime elision, so `'static` can be wrong at times, confusing the user
@Veykril Veykril force-pushed the push-yquvoyrxkksx branch from 521d33b to 2b05bd7 Compare June 24, 2025 06:49
@Veykril Veykril added this pull request to the merge queue Jun 24, 2025
Merged via the queue into rust-lang:master with commit b50d527 Jun 24, 2025
14 checks passed
@Veykril Veykril deleted the push-yquvoyrxkksx branch June 24, 2025 07:11
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.

2 participants