Skip to content

Fix elided_named_lifetimes warning#664

Merged
ChrisDenton merged 1 commit into
rust-lang:masterfrom
ChrisDenton:check-please
Sep 6, 2024
Merged

Fix elided_named_lifetimes warning#664
ChrisDenton merged 1 commit into
rust-lang:masterfrom
ChrisDenton:check-please

Conversation

@ChrisDenton

Copy link
Copy Markdown
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

@workingjubilee workingjubilee left a comment

Copy link
Copy Markdown
Member

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
@ChrisDenton
ChrisDenton deleted the check-please branch September 6, 2024 21:48
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