Skip to content

Make VEC_BOX lint configurable over the size of T #3547

Closed
@flip1995

Description

@flip1995

In #3545 the VEC_BOX lint was implemented. This lints on usage of Vec<Box<T: Sized>> . The Box around T could make sense though, if T is a very large type. (See also #3530 (comment))

A good enhancement for this lint would be, to make it configurable over the size of T, with some meaningful default value (TBD).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesgood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions