Skip to content

Compiler update introduced lots of hiding a lifetime that's elided elsewhere is confusing warnings #943

@JurajSadel

Description

@JurajSadel

Example of warning:

warning: hiding a lifetime that's elided elsewhere is confusing
  --> src/clint/msip.rs:25:17
   |
25 |     pub fn msip(&mut self) -> MSIP_W<MSIP_SPEC> {
   |                 ^^^^^^^^^     ----------------- the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default

CI run from esp-pacs for more info here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions