about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lints.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-06-30 18:25:31 +0200
committerGitHub <noreply@github.com>2024-06-30 18:25:31 +0200
commit6f5765599e66765c47f722f9616345ea2600b091 (patch)
tree9feef350d30d5f716b7b8e5256c12ab0a1600964 /compiler/rustc_lint/src/lints.rs
parent6c3485512fc95fa9c43cb831607bfec9d2153b6e (diff)
parentc053e8939bae9c052ff53f58e692408a8099df5d (diff)
downloadrust-6f5765599e66765c47f722f9616345ea2600b091.tar.gz
rust-6f5765599e66765c47f722f9616345ea2600b091.zip
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``
Diffstat (limited to 'compiler/rustc_lint/src/lints.rs')
-rw-r--r--compiler/rustc_lint/src/lints.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_lint/src/lints.rs b/compiler/rustc_lint/src/lints.rs
index 14084405d0e..7c5640f5959 100644
--- a/compiler/rustc_lint/src/lints.rs
+++ b/compiler/rustc_lint/src/lints.rs
@@ -67,12 +67,6 @@ pub struct BuiltinWhileTrue {
 }
 
 #[derive(LintDiagnostic)]
-#[diag(lint_builtin_box_pointers)]
-pub struct BuiltinBoxPointers<'a> {
-    pub ty: Ty<'a>,
-}
-
-#[derive(LintDiagnostic)]
 #[diag(lint_builtin_non_shorthand_field_patterns)]
 pub struct BuiltinNonShorthandFieldPatterns {
     pub ident: Ident,