Rollup merge of #126018 - nnethercote:rm-box_pointers-lint, r=lcnr

Remove the `box_pointers` lint.

As the comment says, this lint "is mostly historical, and not particularly useful". It's not worth keeping it around.

r? ``@estebank``
This commit is contained in:
Matthias Krüger 2024-06-30 18:25:31 +02:00 committed by GitHub
commit db63b604e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,6 @@ pub const DEFAULT_LINTS: &[Lint] = &[
label: "bindings_with_variant_name",
description: r##"detects pattern bindings with the same name as one of the matched variants"##,
},
Lint { label: "box_pointers", description: r##"use of owned (Box type) heap memory"## },
Lint {
label: "break_with_label_and_loop",
description: r##"`break` expression with label and unlabeled loop as value expression"##,