Skip to content

Ideas for improving mismatched_lifetime_syntaxes wording? #141752

Open
@jieyouxu

Description

@jieyouxu

Yes... on the other hand, it's possible we were just used to the old one. The new main warning here does match the lang model that we adopted (though I'm not sure if the "flowing from..." is the best possible wording). That model derives from what @nikomatsakis had proposed in #120808 (comment) to boil most of this down to things being mismatched, and we ended up adopting the form specifically described in #120808 (comment).

Originally posted by @traviscross in #138677 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-discussionCategory: Discussion or questions that doesn't represent real issues.L-mismatched_lifetime_syntaxesLint: mismatched_lifetime_syntaxesT-langRelevant to the language team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions