You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of rust-lang#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``
Copy file name to clipboardexpand all lines: compiler/rustc_lint/messages.ftl
-2
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,6 @@ lint_builtin_asm_labels = avoid using named labels in inline assembly
56
56
.help = only local labels of the form `<number>:` should be used in inline asm
57
57
.note = see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
58
58
59
-
lint_builtin_box_pointers = type uses owned (Box type) pointers: {$ty}
60
-
61
59
lint_builtin_clashing_extern_diff_name = `{$this}` redeclares `{$orig}` with a different signature
62
60
.previous_decl_label = `{$orig}` previously declared here
63
61
.mismatch_label = this signature doesn't match the previous declaration
<https://rust-lang.github.io/rfcs/3535-constants-in-patterns.html> for more information",
553
552
);
553
+
store.register_removed(
554
+
"box_pointers",
555
+
"it does not detect other kinds of allocations, and existed only for historical reasons",
0 commit comments