-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the box_pointers
lint.
#126018
Remove the box_pointers
lint.
#126018
Conversation
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's a list of removed/renamed lints somewhere to adjust the error message when using a renamed lint. Please add it there
r=me on the impl changes, please start a compiler FCP for this
r? lcnr |
6fb5ebb
to
8eb027b
Compare
I have added a call to |
This comment has been minimized.
This comment has been minimized.
8eb027b
to
825b034
Compare
Removing this old, useless lint that tells you if you are using Box. (Yes, really. Perhaps it made more sense in pre-1.0 days.) @rfcbot fcp merge |
How do I start an FCP? Or does it have to be started by a compiler team member? I'm only a contributor. |
@rfcbot fcp merge |
@rfcbot ping |
@rfcbot fcp merge |
825b034
to
0acc5db
Compare
This comment has been minimized.
This comment has been minimized.
0acc5db
to
1a0fc11
Compare
Does anyone know how to trigger an FCP? |
rfcbot was having some trouble, which has been fixed-for-now, and it sounds like you should be able to just retry. |
@rfcbot fcp |
@rfcbot fcp merge |
1 similar comment
@rfcbot fcp merge |
I rebased. |
(Lang hat on; not speaking for the team) This makes good sense to me. A restriction lint like this isn't something I think we'd accept for rustc these days. So 👍 to removing it, assuming the correct incantation happened so peoples builds don't break if they were (inexplicably) mentioning it (which I think has already been done in the PR). |
Yep, the |
Even without |
Only one approval short of the n-2 threshold! |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
☔ The latest upstream changes (presumably #120924) made this pull request unmergeable. Please resolve the merge conflicts. |
As the comment says, this lint "is mostly historical, and not particularly useful". It's not worth keeping it around.
a60756a
to
c053e89
Compare
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
@bors r=lcnr |
…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`
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#126018 (Remove the `box_pointers` lint.) - rust-lang#126895 (Fix simd_gather documentation) - rust-lang#126981 (Replace some magic booleans in match-lowering with enums) - rust-lang#127069 (small correction to fmt::Pointer impl) - rust-lang#127157 (coverage: Avoid getting extra unexpansion info when we don't need it) - rust-lang#127160 (Add a regression test for rust-lang#123630) - rust-lang#127161 (Improve `run-make-support` library `args` API) - rust-lang#127162 (Subtree sync for rustc_codegen_cranelift) r? `@ghost` `@rustbot` modify labels: rollup
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#126018 (Remove the `box_pointers` lint.) - rust-lang#126895 (Fix simd_gather documentation) - rust-lang#126981 (Replace some magic booleans in match-lowering with enums) - rust-lang#127038 (Update test comment) - rust-lang#127053 (Update the LoongArch target documentation) - rust-lang#127069 (small correction to fmt::Pointer impl) - rust-lang#127157 (coverage: Avoid getting extra unexpansion info when we don't need it) - rust-lang#127160 (Add a regression test for rust-lang#123630) - rust-lang#127161 (Improve `run-make-support` library `args` API) r? `@ghost` `@rustbot` modify labels: rollup
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#126018 (Remove the `box_pointers` lint.) - rust-lang#126895 (Fix simd_gather documentation) - rust-lang#126981 (Replace some magic booleans in match-lowering with enums) - rust-lang#127038 (Update test comment) - rust-lang#127053 (Update the LoongArch target documentation) - rust-lang#127069 (small correction to fmt::Pointer impl) - rust-lang#127157 (coverage: Avoid getting extra unexpansion info when we don't need it) - rust-lang#127160 (Add a regression test for rust-lang#123630) - rust-lang#127161 (Improve `run-make-support` library `args` API) r? `@ghost` `@rustbot` modify labels: rollup
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``
As the comment says, this lint "is mostly historical, and not particularly useful". It's not worth keeping it around.
r? @estebank