rustc won't compile after error #135456
Labels
A-incr-comp
Area: Incremental compilation
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-needs-repro
Status: This issue has no reproduction and needs a reproduction to make progress.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I was going through the online Rust book and I was modifying the provided code examples to see the types of error messages I could receive.
I tried to compile with this code
and I received this error:
Based on the error hint, I changed the code to:
and I got this error:
Not sure what's going on here. I just created a new project with cargo and moved on, but I would like to know how to fix this in the future.
The text was updated successfully, but these errors were encountered: