You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an ICE from the check_static pass, due to a match that has a bunch of cases that lead to unreachable!. I think this particular case is the mc::cat_local.
here is the test case (this code is meant to be rejected, but not ICE):
pubfnmain(){static x :int = 3i;let y = {static z:Box<&'staticint> = {let p = x;let a = &p;
box a
};
z
};}
There is an ICE from the
check_static
pass, due to a match that has a bunch of cases that lead tounreachable!
. I think this particular case is themc::cat_local
.here is the test case (this code is meant to be rejected, but not ICE):
playpen link
The text was updated successfully, but these errors were encountered: