Skip to content

Fix elided_named_lifetimes warning #664

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

ChrisDenton
Copy link
Member

New on nightly

warning: elided lifetime has a name
   --> src\symbolize\gimli\macho.rs:253:77
    |
253 |     pub(super) fn search_object_map<'b>(&'b mut self, addr: u64) -> Option<(&Context<'b>, u64)> {
    |                                     -- lifetime `'b` declared here          ^ this elided lifetime gets resolved as `'b`
    |
    = note: `#[warn(elided_named_lifetimes)]` on by default

Copy link
Member

@workingjubilee workingjubilee left a comment

Choose a reason for hiding this comment

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

whee!

@ChrisDenton ChrisDenton merged commit c521d9a into rust-lang:master Sep 6, 2024
41 checks passed
@ChrisDenton ChrisDenton deleted the check-please branch September 6, 2024 21:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants