Skip to content

inferrable lifetime not being removed by cargo fix --edition --edition-idioms #56571

Open
@Xaeroxe

Description

@Xaeroxe

https://github.com/amethyst/amethyst/blob/863b795ddf76a27107334f15113b5da8323b5207/src/state.rs#L30

This requirement can be inferred in Rust 2018 however the fix tool is not automatically removing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-edition-2018Area: The 2018 editionA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.A-suggestion-diagnosticsArea: Suggestions generated by the compiler applied by `cargo fix`C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-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