Skip to content

Conversation

@jeckersb
Copy link
Collaborator

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]>
@jeckersb
Copy link
Collaborator Author

xref bootc-dev/bootc#1497

Copy link
Collaborator

@allisonkarlitskaya allisonkarlitskaya left a comment

Choose a reason for hiding this comment

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

I read a bit about this new rule and thought it seemed vaguely useful but in practice it's kinda annoying... this is what elided lifetimes is supposed to be about.... I guess I kinda see the point though that it's not obvious that the lifetime is captured here.

Thanks for taking care of this.

@allisonkarlitskaya allisonkarlitskaya merged commit 5629404 into containers:main Aug 14, 2025
14 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