Skip to content

[NLL] Loss of suggestion to introduce a named lifetime parameter #96157

Closed
@marmeladema

Description

@marmeladema

In the src/test/ui/self/arbitrary_self_types_pin_lifetime_mismatch.base.rs test, we give the suggestion to consider introducing a named lifetime parameter and update trait if needed under migrate mode. Under NLL, the error message is imo clearer but we lose that suggestion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-NLLArea: Non-lexical lifetimes (NLL)A-diagnosticsArea: Messages for errors, warnings, and lintsNLL-diagnosticsWorking towards the "diagnostic parity" goalT-compilerRelevant to the compiler 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