Uh oh!
There was an error while loading. Please reload this page.
revert const_type_id stabilization - #77083
Conversation
This reverts commit e385661.
Mark-Simulacrum
commented
Sep 23, 2020
Accepted for beta backport (there's not really any point in landing this if we don't backport). |
RalfJung
commented
Sep 23, 2020
r=me, but also fine with waiting for @eddyb |
Mark-Simulacrum
commented
Sep 23, 2020
@bors r=RalfJung p=1 I think we should get this landed and backported quickly. |
bors
commented
Sep 23, 2020
📌 Commit 9b2c8d8 has been approved by |
eddyb
commented
Sep 23, 2020
Thanks! Sorry I didn't see it earlier, but yeah it doesn't really need my review since it's just a backport. I guess we can have the discussion on whether/when to re-land the stabilization elsewhere (perhaps a tracking issue?). |
bors
commented
Sep 23, 2020
⌛ Testing commit 9b2c8d8 with merge 2eb3d29f7479ceef4dc61f4329c4d05c57b36f27... |
bors
commented
Sep 23, 2020
💥 Test timed out |
rust-log-analyzer
commented
Sep 23, 2020
Your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem. Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
KodrAus
commented
Sep 23, 2020
@bors retry |
KodrAus
commented
Sep 23, 2020
I actually would really like to use type ids in const contexts for what (I hope) are non-nefarious purposes 😄 We never actually had a proper tracking issue for this before and this PR currently links to |
KodrAus
commented
Sep 23, 2020
I've created a tracking issue: #77125 |
KodrAus
commented
Sep 23, 2020
Based on #77083 (comment) @bors r=RalfJung p=1 |
bors
commented
Sep 23, 2020
📌 Commit 0e2db57 has been approved by |
bors
commented
Sep 24, 2020
bors
commented
Sep 24, 2020
☀️ Test successful - checks-actions, checks-azure |
RalfJung
commented
Sep 24, 2020
So who's doing the backport, are you or should someone else prepare a PR? |
Mark-Simulacrum
commented
Sep 24, 2020
I will do a rollup after compiler meeting today, to catch anything else that gets approved. |
…ulacrum [beta] backports This backports the following: * revert const_type_id stabilization rust-lang#77083 * [mir-opt] Disable the `ConsideredEqual` logic in SimplifyBranchSame opt rust-lang#76837 * Rename Iterator::get_unchecked rust-lang#77201 (manually, because of file renaming and other issues on master causing literal cherry-pick to fail) * Rebase LLVM onto 11.0.0-rc3 rust-lang#77063 (bumping direct to master, see rust-lang#77063 (comment)). The last two have not yet been approved by compiler team, but I'm posting this now and going to go ahead and approve as I expect both to get approved and we want testing as much as possible before release in ~2 weeks. r? `@ghost`
The `const_type_id` feature was planned to stabilize in Rust 1.47, but this was reverted in: rust-lang/rust#77083 This causes errors when building `log` with the `kv_unstable` feature on Rust 1.47 or later. This patch removes the use of this no-longer-stable feature in those Rust versions.
This reverts #72488, which is currently on beta and scheduled to stabilize in
1.47.0, based on #75923 (comment)It turns out we might not be quite ready to stabilize
TypeIdin const contexts before having a chance to rework its internals. SinceTypeIdis a bit of an oddity we want to be careful about how those internals are currently being relied on while making changes. That will be easier to do without having to also consider compile-time contexts.r? @eddyb