static BOX_POINTERS: &Lint
Expand description

The box_pointers lints use of the Box type.

§Example

#![deny(box_pointers)]
struct Foo {
    x: Box<isize>,
}

{{produces}}

§Explanation

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.