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
Now, I realize that that's invalid code, but I expected an error message instead of a panic?
For example, rustfmt reports:
error: expected one of `(`, `,`, `?`, `for`, `{`, lifetime, or path, found `!`
--> /Users/rives/Projects/gobbldygook-area-auditor/foo.rs:3:38
|
3 | impl<T> Thing for Option<T> where T: !u64 {}
| ^ expected one of 7 possible tokens here
Yep! Looks like a duplicate of that issue. I'll be sure to test the next nightly.
estebank
added
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
A-parser
Area: The parsing of Rust source code to an AST
labels
Mar 9, 2019
I tried this code:
Now, I realize that that's invalid code, but I expected an error message instead of a panic?
For example,
rustfmt
reports:Meta
rustup run nightly -- rustc --version --verbose
:rustc 1.35.0-nightly (2a65cbe 2019-03-08)
binary: rustc
commit-hash: 2a65cbe
commit-date: 2019-03-08
host: x86_64-apple-darwin
release: 1.35.0-nightly
LLVM version: 8.0
Backtrace:
The text was updated successfully, but these errors were encountered: