Static rustc_lint::builtin::BOX_POINTERS

source ·
static BOX_POINTERS: &Lint
Expand description

The box_pointers lints use of the Box type.


struct Foo {
    x: Box<isize>,



This lint is mostly historical, and not particularly useful. Box<T> used to be built into the language, and the only way to do heap allocation. Today’s Rust can call into other allocators, etc.