Uh oh!
There was an error while loading. Please reload this page.
panic when calling MaybeUninhabited::into_inner on uninhabited type - #57145
Conversation
rust-highfive
commented
Dec 27, 2018
r? @zackmdavis (rust_highfive has picked a reviewer for you, use r? to override) |
Uh oh!
There was an error while loading. Please reload this page.
zackmdavis
commented
Dec 30, 2018
oli-obk
commented
Dec 30, 2018
So... I am confident that the impl does what it promises. I just don't know if I can single handedly sign off on this. I think it would be enough for @rust-lang/libs to sign off on this, although it kind of touches language and compiler. |
alexcrichton
commented
Jan 2, 2019
@bors: try |
bors
commented
Jan 2, 2019
⌛ Trying commit c118b17 with merge c8bd38c4de0d52227df9d7c04afd10f3080e9a6a... |
alexcrichton
commented
Jan 2, 2019
Er sorry, just now realizing that the implementation already does this, we're just adding something else under that umbrella. Sounds good to me! @bors: r+ |
bors
commented
Jan 2, 2019
📌 Commit c118b17 has been approved by |
…excrichton panic when calling MaybeUninhabited::into_inner on uninhabited type I do this by adding an internal-only intrinsic `panic_if_uninhabited`. I have no idea what I am doing here, just mindlessly copying code around, so please review carefully!
bors
commented
Jan 5, 2019
panic when calling MaybeUninhabited::into_inner on uninhabited type I do this by adding an internal-only intrinsic `panic_if_uninhabited`. I have no idea what I am doing here, just mindlessly copying code around, so please review carefully!
bors
commented
Jan 5, 2019
☀️ Test successful - status-appveyor, status-travis |
rust-highfive
commented
Jan 5, 2019
Tested on commit rust-lang/rust@8c2d0f4. Direct link to PR: <rust-lang/rust#57145> 💔 miri on linux: test-pass → test-fail (cc @oli-obk@RalfJung@eddyb, @rust-lang/infra).
I do this by adding an internal-only intrinsic
panic_if_uninhabited. I have no idea what I am doing here, just mindlessly copying code around, so please review carefully!