Skip to content

redundant_allocation should not warn against Box<Box<dyn T>> #7487

@schungx

Description

@schungx

Lint name: redundant_allocation

Should not catch Box<Box<dyn T>> because it is necessary to keep a type small by redirecting the double-pointer of the Box<dyn T>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingI-false-positiveIssue: The lint was triggered on code it shouldn't have

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions