Skip to content

Comments

Resolve lifetime elision warnings#733

Closed
ausbin wants to merge 1 commit intomlir-rs:mainfrom
ausbin:feature/lifetime-elision-warnings
Closed

Resolve lifetime elision warnings#733
ausbin wants to merge 1 commit intomlir-rs:mainfrom
ausbin:feature/lifetime-elision-warnings

Conversation

@ausbin
Copy link
Contributor

@ausbin ausbin commented Sep 17, 2025

Add lifetimes (mostly '_) in many places to resolve many instances of the following warning:

hiding a lifetime that's elided elsewhere is confusing

Of course this warning is harmless, but I hope reducing warning noise can help in spotting more important warnings.

Testing

It still compiles, and cargo test still passes

Add lifetimes (mostly `'_`) in many places to resolve many instances of
the following warning:

    hiding a lifetime that's elided elsewhere is confusing

Of course this warning is harmless, but I hope reducing warning noise
can help in spotting more important warnings.
@raviqqe
Copy link
Member

raviqqe commented Sep 20, 2025

Hi. Thank you for your changes! We instead merged #723 because the other parts of the CI was broken as well.

@raviqqe raviqqe closed this Sep 20, 2025
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