treat no_mangle_generic_items as hard error instead of lint warning#154585
treat no_mangle_generic_items as hard error instead of lint warning#154585HerrCai0907 wants to merge 2 commits into
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
r? @oli-obk |
|
|
|
Please make it a hard error and not a lint at all if crater doesn't show any significant regressions. For crater purposes this works. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
|
@bors try |
This comment has been minimized.
This comment has been minimized.
set no_mangle_generic_items deny by default
This comment has been minimized.
This comment has been minimized.
|
@craterbot check |
|
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🎉 Experiment
Footnotes
|
|
Agreed. Obviously can't work and easy to describe the error rule -- easier than giving it a meaning -- so 👍 @rfcbot reviewed |
|
🔔 This is now entering its final comment period, as per the review above. 🔔 |
|
@rfcbot reviewed |
|
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. |
|
@HerrCai0907 could you please rebase, and deal with the CI failures? |
40a9cfe to
5ccc016
Compare
This comment has been minimized.
This comment has been minimized.
5ccc016 to
f551d1a
Compare
This comment has been minimized.
This comment has been minimized.
f551d1a to
0d2248c
Compare
This comment has been minimized.
This comment has been minimized.
0d2248c to
b49e886
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
View all comments
In rust-lang/miri#4929 (comment), rustc should reject the no_mangled generic function.
This PR treat is as a hard error