Skip to content
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

fix: Always show error lifetime arguments as '_ #17963

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

avrong
Copy link
Contributor

@avrong avrong commented Aug 26, 2024

Fixes #17947

Changed error lifetime argument presentation in non-test environment to '_ and now showing them even if all of args are error lifetimes.

This also influenced some of the other tests like extract_function.rs, predicate.rs and type_pos.rs. Not sure whether I need to refrain from adding lifetimes args there. Happy to fix if needed

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 26, 2024
@Veykril
Copy link
Member

Veykril commented Aug 26, 2024

Needs a rustfmt run, thanks
@bors delegate+

@bors
Copy link
Collaborator

bors commented Aug 26, 2024

✌️ @avrong, you can now approve this pull request!

If @Veykril told you to "r=me" after making some further change, please make that change, then do @bors r=@Veykril

@avrong
Copy link
Contributor Author

avrong commented Aug 26, 2024

@bors r=@Veykril

@bors
Copy link
Collaborator

bors commented Aug 26, 2024

📌 Commit f1b4a9c has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Aug 26, 2024

⌛ Testing commit f1b4a9c with merge 095926e...

@bors
Copy link
Collaborator

bors commented Aug 26, 2024

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing 095926e to master...

@bors bors merged commit 095926e into rust-lang:master Aug 26, 2024
11 checks passed
@lnicola lnicola changed the title Always show error lifetime arguments as '_ fix: Always show error lifetime arguments as '_ Aug 26, 2024
@avrong avrong deleted the avrong/error-lifetimes branch August 26, 2024 10:37
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.

Lifetime arguments of types are missing when hovering a value
4 participants