-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
ICE with invalid syntax #5500
Labels
A-typesystem
Area: The type system
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
This may or may not be the same failure as fn main() { &fail!() } which fails with |
Visited for triage. Was able to reproduce. Nominating for "maturity number 5 - production ready". |
accepted for production-ready milestone |
just a bug, removing milestone/nomination. |
Both the smaller and the bigger versions still ICE as of b477f7a |
bors
added a commit
that referenced
this issue
Feb 12, 2014
While working on #11363 I stumbled over a couple of ignored tests, that seem to be fixed or invalid. * src/test/run-pass/issue-3559.rs was fixed in #4726 * src/test/compile-fail/borrowck-call-sendfn.rs was fixed in #2978 * update src/test/compile-fail/issue-5500-1.rs to work with current Rust (I'm not 100% sure if the original condition is tested as mentioned in #5500, but I think so) * removed src/test/compile-fail/issue-5500.rs because it is tested in src/test/run-fail/issue-5500.rs (they are the same test cases, I just renamed src/test/run-fail/addr-of-bot.rs to be consistent with the other issue name
oli-obk
pushed a commit
to oli-obk/rust
that referenced
this issue
May 2, 2020
New lint `match_vec_item` Added new lint to warn a match on index item which can panic. It's always better to use `get(..)` instead. Closes rust-lang#5500 changelog: New lint `match_on_vec_items`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-typesystem
Area: The type system
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
(updated test case for bug)
The following test inputs:
or, more elaborately:
yields the ICE failure:
(original bug test case follows)
The text was updated successfully, but these errors were encountered: