-
Notifications
You must be signed in to change notification settings - Fork 13.3k
invalid syntax (unclosed brace) yields eventual ICE: unexpected ty: [type error] #67377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
Oh, this works with other types as well, except the messages are different enum Bug {
V = [Vec::new; { [].len() ].len() as isize,
} ICE's with:
|
enum Bug {
V = [Vec::new; { [0].len() ].len() as isize,
} ICE's with:
|
Its worth nothing explicitly that:
|
triage: P-medium. Removing nomination. |
Triage:
|
Centril
added a commit
to Centril/rust
that referenced
this issue
Apr 15, 2020
Do not ICE in the face of invalid enum discriminant Fix rust-lang#67377. r? @pnkfelix
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this issue
Apr 15, 2020
Do not ICE in the face of invalid enum discriminant Fix rust-lang#67377. r? @pnkfelix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following ICE's on stable, beta and nightly:
(notice the
{
was NOT closed)Backtrace:
The text was updated successfully, but these errors were encountered: