Skip to content

Conversation

@jeckersb
Copy link
Collaborator

@jeckersb jeckersb commented Aug 7, 2025

Rust 1.89 introduced this new lint[1], fix the handful of places where
it comes up across the repo.

[1] https://blog.rust-lang.org/2025/08/07/Rust-1.89.0/#mismatched-lifetime-syntaxes-lint

Signed-off-by: John Eckersberg [email protected]

Rust 1.89 introduced this new lint[1], fix the handful of places where
it comes up across the repo.

[1] https://blog.rust-lang.org/2025/08/07/Rust-1.89.0/#mismatched-lifetime-syntaxes-lint

Signed-off-by: John Eckersberg <[email protected]>
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request addresses warnings from the new mismatched_lifetime_syntaxes lint introduced in Rust 1.89. The changes correctly add explicit lifetime annotations (<'_>) to various function return types across the repository where they were previously elided. The modifications are straightforward, correct, and effectively resolve the new lint warnings. The code looks good, and I have no further suggestions.

@cgwalters cgwalters merged commit 16b932e into bootc-dev:main Aug 8, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants