KEMBAR78
Do not default to 'static for trait object lifetimes by Veykril · Pull Request #20036 · rust-lang/rust-analyzer · GitHub
Skip to content

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