Uh oh!
There was an error while loading. Please reload this page.
Add checking for no_mangle to unsafe_code lint - #72209
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Dylan-DPC-zz
commented
May 14, 2020
r? @estebank |
ollie27
commented
May 14, 2020
|
Dylan-DPC-zz
commented
Jun 4, 2020
@estebank any updates on this? |
estebank
left a comment
There was a problem hiding this comment.
Sorry for the delay. We'll need to do a crater run with this to make sure we don't cause major regressions in the wild as this is being added to an existing lint. Beyond these nitpicks, it looks good to me.
There was a problem hiding this comment.
Can we use it.name.span instead here and in the other 2 places?
There was a problem hiding this comment.
Could we add a note to explain why the annotation is problematic and or a link to the docs?
Nemo157
commented
Jun 30, 2020
@estebank fixed the nitpicks. Are you able to trigger the crater run? |
Dylan-DPC-zz
commented
Jun 30, 2020
@bors try (before crater run) |
bors
commented
Jun 30, 2020
⌛ Trying commit 36c75f4d7dc23bad408f0eb92cd30365434cf2a2 with merge 00bf438af9d3399b4145c87e4f9f6133e40fd673... |
bors
commented
Jun 30, 2020
☀️ Try build successful - checks-actions, checks-azure |
Dylan-DPC-zz
commented
Jul 17, 2020
@craterbot check |
craterbot
commented
Jul 17, 2020
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
There was a problem hiding this comment.
Could the lint span point to the attribute itself, rather than the identifier of the item being defined?
| | ^^^ | |
| | ^^^^^^^^^^^^ |
There was a problem hiding this comment.
Makes sense, I'll try to get this changed tomorrow.
craterbot
commented
Jul 28, 2020
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
craterbot
commented
Jul 28, 2020
🚨 Experiment 🆘 Can someone from the infra team check in on this? @rust-lang/infra |
Mark-Simulacrum
commented
Jul 28, 2020
@craterbot retry seems to have been spurious |
craterbot
commented
Jul 28, 2020
🚨 Error: failed to parse the command 🆘 If you have any trouble with Crater please ping |
Mark-Simulacrum
commented
Jul 28, 2020
@craterbot retry |
craterbot
commented
Jul 28, 2020
🛠️ Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
craterbot
commented
Jul 28, 2020
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
nikomatsakis
commented
Oct 19, 2020
@rfcbot reviewed I'm nominated for lang team discussion next week to draw attention to this. |
pnkfelix
commented
Nov 2, 2020
@rfcbot reviewed |
rfcbot
commented
Nov 2, 2020
🔔 This is now entering its final comment period, as per the review above. 🔔 |
rfcbot
commented
Nov 12, 2020
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. The RFC will be merged soon. |
This comment has been minimized.
This comment has been minimized.
Dylan-DPC-zz
commented
Jan 17, 2021
@estebank this is waiting for your final review. Looks ready imo 😃 |
nikomatsakis
commented
Feb 8, 2021
bors
commented
Feb 8, 2021
📌 Commit fc8a3ad has been approved by |
Rollup of 11 pull requests Successful merges: - rust-lang#72209 (Add checking for no_mangle to unsafe_code lint) - rust-lang#80732 (Allow Trait inheritance with cycles on associated types take 2) - rust-lang#81697 (Add "every" as a doc alias for "all".) - rust-lang#81826 (Prefer match over combinators to make some Box methods inlineable) - rust-lang#81834 (Resolve typedef in HashMap lldb pretty-printer only if possible) - rust-lang#81841 ([rustbuild] Output rustdoc-json-types docs ) - rust-lang#81849 (Expand the docs for ops::ControlFlow a bit) - rust-lang#81876 (parser: Fix panic in 'const impl' recovery) - rust-lang#81882 (:arrow_up: rust-analyzer) - rust-lang#81888 (Fix pretty printer macro_rules with semicolon.) - rust-lang#81896 (Remove outdated comment in windows' mutex.rs) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
fixes#72188
r? @estebank