Stream: t-compiler/wg-prioritization/alerts

Topic: I-prioritize #78549 ICE: trying to compare incompatible cto…


triagebot (Oct 30 2020 at 02:00, on Zulip):

@WG-prioritization/alerts issue #78549 has been requested for prioritization.

Procedure

Camelid (Oct 30 2020 at 02:00, on Zulip):

working code -> ICE

I think P-high

Camelid (Oct 30 2020 at 02:00, on Zulip):

And it's simple code too

Camelid (Oct 30 2020 at 02:01, on Zulip):

MCVE provided by Nadrieril:

fn main() {
    match "foo" {
        "foo" => {},
        &_ => {},
    }
}
Yuki Okushi (Oct 31 2020 at 19:16, on Zulip):

Or even P-critical? This breaks a real world crate, e.g. #78598

Joshua Nelson (Oct 31 2020 at 19:16, on Zulip):

@Yuki Okushi there's a simple workaround though - just remove the &

Joshua Nelson (Oct 31 2020 at 19:17, on Zulip):

but yeah it would be bad for this to land on stable

lcnr (Oct 31 2020 at 19:17, on Zulip):

I think it's P-critical

Yuki Okushi (Oct 31 2020 at 19:18, on Zulip):

Oh, fix is up: #78553

Joshua Nelson (Oct 31 2020 at 19:19, on Zulip):

it's waiting on review, yeah

Yuki Okushi (Oct 31 2020 at 19:19, on Zulip):

Okay, let's mark it as P-critical to keep eyes in case

Joshua Nelson (Oct 31 2020 at 19:19, on Zulip):

cc @varkor

triagebot (Oct 31 2020 at 19:21, on Zulip):

Issue #78549's prioritization request has been removed.

Last update: Apr 10 2021 at 22:15UTC