Skip to content

Conversation

DutchGhost
Copy link
Contributor

implements #69616

@rust-highfive
Copy link
Contributor

r? @LukasKalbertodt

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 1, 2020
@LukasKalbertodt LukasKalbertodt 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-review Status: Awaiting review from the assignee but also interested parties. labels Mar 2, 2020
@LukasKalbertodt
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Mar 2, 2020

📌 Commit a30b0a6 has been approved by LukasKalbertodt

@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 Mar 2, 2020
bors added a commit that referenced this pull request Mar 2, 2020
Rollup of 6 pull requests

Successful merges:

 - #68682 (Add documentation to compiler intrinsics)
 - #69544 (Unrevert "Remove `checked_add` in `Layout::repeat`")
 - #69617 (constify mem::forget)
 - #69622 (Rename `syntax` in librustc_ast/README.md)
 - #69623 (stash API: remove panic to fix ICE.)
 - #69624 (Toolstate: Don't block beta week on already broken tools.)

Failed merges:

 - #69626 (Toolstate: don't duplicate nightly tool list.)

r? @ghost
@bors bors merged commit e725c04 into rust-lang:master Mar 2, 2020
@ecstatic-morse
Copy link
Contributor

No test for this?

@DutchGhost
Copy link
Contributor Author

No test for this?

Im writing them now!

@DutchGhost DutchGhost mentioned this pull request Mar 2, 2020
Centril added a commit to Centril/rust that referenced this pull request Mar 11, 2020
Centril added a commit to Centril/rust that referenced this pull request Mar 11, 2020
@RalfJung
Copy link
Member

Constification PRs should always Cc @rust-lang/wg-const-eval

@LukasKalbertodt
Copy link
Contributor

@RalfJung Sorry, will do in the future!

XAMPPRocky pushed a commit to rust-lang/rust-forge that referenced this pull request Apr 1, 2020
I was made aware of this [here](rust-lang/rust#69617 (comment)). I guess this note is useful in this document.
XAMPPRocky pushed a commit to XAMPPRocky/rust-forge that referenced this pull request Apr 4, 2020
…t-lang#326)

I was made aware of this [here](rust-lang/rust#69617 (comment)). I guess this note is useful in this document.
@RalfJung
Copy link
Member

Next time someone adds a const-intrinsic, please make sure to also remove the (then obsolete) implementation in Miri once it lands.

@RalfJung
Copy link
Member

Oh wait, this does not even use the intrinsic... oops sorry.^^

Manishearth added a commit to Manishearth/rust that referenced this pull request Jul 11, 2020
stabilize const mem::forget

Stabilizes const `mem::forget` as implemented in rust-lang#69617 and tracked in rust-lang#69616.

Closes rust-lang#69616
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.

6 participants