Stabilize `const_fn_transmute`, `const_fn_union` by jhpratt · Pull Request #8576...
source link: https://github.com/rust-lang/rust/pull/85769
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Some changes occurred in src/tools/clippy.
r? @yaahc
(rust-highfive has picked a reviewer for you, use r? to override)
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
Looking at the failure, I'm not really sure what should be done about this. It's wholly unrelated to this PR (it's only being run because I remove the feature gate) and the lints are objectively correct — but it's also what's being tested. I think it's an issue with the script that's running the tests: -D warnings
shouldn't be passed when clippy warnings are being checked.
When running x t --stage 2
locally, everything succeeds. I use Fedora 34/x64_64-unknown-linux-gnu if that's relevant.
r? @oli-obk
It's wholly unrelated to this PR (it's only being run because I remove the feature gate)
The test will get run by bors either way, so even if it wouldn't be run here we'd still get the same failure later. Therefore it is definitely related to the PR, in the sense that these warnings do not show up on master, but they do show up with your PR applied.
@rust-lang/clippy what do you recommend we do with these -D warning
failures in clippy tests? Somehow just stabilizing a feature makes new warnings show up...?
This comment has been hidden.
The latest upstream changes (presumably #86522) made this pull request unmergeable. Please resolve the merge conflicts.
At this point I'm going to stop playing whack-a-mole and just rebase one final time once requested. I know this PR is nominated, so I'll hold off until that discussion takes place.
@rust-lang/lang this is waiting on someone starting FCP :)
@rfcbot fcp merge
Link to stabilization report
Tests are visible in the changed files of this PR.
Team member @cramertj has proposed to merge this. The next step is review by the rest of the tagged team members:
No concerns currently listed.
Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up!
See this document for info about what commands tagged team members can give me.
Copy link
rfcbot commented 3 days ago
This is now entering its final comment period, as per the review above.
Hey @jhpratt, I'm assuming that this FCP will run through smoothly, so if you rebase and fix the conflicts, we can r+ right now and revert if anything comes up within the FCP.
Rebased and green.
we can r+ right now and revert if anything comes up within the FCP
oO really? We do such things? That seems strange... why would we not follow the usual process and merge after FCP is done?
because I'm excited for this. We did such a thing before... I don't remember for which FCPs tho...
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK