Skip to content

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
Contributor

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 avrong force-pushed the avrong/error-lifetimes branch from 823eca7 to f1b4a9c Compare August 26, 2024 09:20
@avrong
Copy link
Contributor Author

avrong commented Aug 26, 2024

@bors r=@Veykril

@bors
Copy link
Contributor

bors commented Aug 26, 2024

📌 Commit f1b4a9c has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Aug 26, 2024

⌛ Testing commit f1b4a9c with merge 095926e...

@bors
Copy link
Contributor

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
@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