Skip to content
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

Require const stability attributes on intrinsics to be able to use them in constant contexts #67466

Merged
merged 3 commits into from
Dec 23, 2019

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Dec 20, 2019

r? @Centril

finally fixes #61495

cc @RalfJung

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 20, 2019
@Centril
Copy link
Contributor

Centril commented Dec 20, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Dec 20, 2019

📌 Commit 032d810 has been approved by Centril

@bors
Copy link
Contributor

bors commented Dec 20, 2019

🌲 The tree is currently closed for pull requests below priority 100, this pull request will be tested once the tree is reopened

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 20, 2019
@rust-highfive

This comment has been minimized.

@Centril

This comment has been minimized.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 21, 2019
@oli-obk
Copy link
Contributor Author

oli-obk commented Dec 23, 2019

@bors r=Centril

@bors
Copy link
Contributor

bors commented Dec 23, 2019

📌 Commit 63d2822 has been approved by Centril

@bors
Copy link
Contributor

bors commented Dec 23, 2019

🌲 The tree is currently closed for pull requests below priority 100, this pull request will be tested once the tree is reopened

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Dec 23, 2019
Centril added a commit to Centril/rust that referenced this pull request Dec 23, 2019
Require const stability attributes on intrinsics to be able to use them in constant contexts

r? @Centril

finally fixes rust-lang#61495

cc @RalfJung
bors added a commit that referenced this pull request Dec 23, 2019
Rollup of 8 pull requests

Successful merges:

 - #67233 (Add PartialEq and Eq to Cursor)
 - #67466 (Require const stability attributes on intrinsics to be able to use them in constant contexts)
 - #67507 (Remove mem::uninitalized from tests)
 - #67527 (Results show too much)
 - #67536 (Move `{hir::lowering -> hir}::is_range_literal`)
 - #67538 (Improve diagnostics for invalid assignment)
 - #67546 (Fix ICE in mir interpretation)
 - #67559 (Document that calling Drop, even after it panics, is UB)

Failed merges:

r? @ghost
@bors bors merged commit 63d2822 into rust-lang:master Dec 23, 2019
@Centril
Copy link
Contributor

Centril commented Dec 23, 2019

@oli-obk Could you follow up with some adjustments to https://rust-lang.github.io/rustc-guide/stability.html ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All intrinsics are callable in const fn
4 participants