Make VEC_BOX lint configurable over the size of T #3547
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
good-first-issue
These issues are a good way to get started with Clippy
In #3545 the
VEC_BOX
lint was implemented. This lints on usage ofVec<Box<T: Sized>>
. TheBox
aroundT
could make sense though, ifT
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).The text was updated successfully, but these errors were encountered: