Skip to content

borrowed_box gives syntactically invalid suggestion #3128

Closed
@vks

Description

@vks

It suggests &mut Trait + 'a, which is invalid syntax. It should be &mut (Trait + 'a) instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingI-suggestion-causes-errorIssue: The suggestions provided by this Lint cause an ICE/error when applied

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions