Skip to content

edition lint: declarations obviated by in-band lifetimes #52045

Open
@nrc

Description

@nrc

cc #44524

e.g., in fn two_args<'b>(arg1: &Foo, arg2: &'b Bar) -> &'b Baz, suggest that <'b> is not necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-edition-2018Area: The 2018 editionA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.T-langRelevant to the language team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions