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
Test case, that mysteriously passes on my machine but fails on the playpen:
fnmain(){&2as*consti32as*mut_;}
Playpen output:
<anon>:2:5: 2:31 error: internal compiler error: cat_expr Errd
<anon>:2 &2 as *const i32 as *mut _;
^~~~~~~~~~~~~~~~~~~~~~~~~~
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:149
playpen: application terminated with error code 101
Program ended.
Local output:
ice.rs:2:5: 2:31 error: cannot determine a type for this expression: unconstrained type [E0101]
ice.rs:2 &2 as *const i32 as *mut _;
^~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error