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
The compiler appears to crash when fed this invalid syntax.
I tried this code:
fn main() {
let a = [];
}
I expected to see a syntax error, but instead I got this trace:
e0309.rs:2:13: 2:15 error: internal compiler error: cat_expr Errd
e0309.rs:2 let a = [];
^~
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', /home/rustbuild/src/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:130
The compiler appears to crash when fed this invalid syntax.
I tried this code:
I expected to see a syntax error, but instead I got this trace:
Backtrace is this:
The text was updated successfully, but these errors were encountered: