Compiling playground v0.0.1 (file:///playground)
error: internal compiler error: unexpected panic
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: rustc 1.23.0-nightly (ee2286149 2017-11-07) running on x86_64-unknown-linux-gnu
thread 'rustc' panicked at 'explicit panic', /checkout/src/librustc_typeck/check/cast.rs:108:17
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: Could not compile `playground`.
To learn more, run the command again with --verbose.
meta
minimal example: https://play.rust-lang.org/?gist=231bf59b18642fcaba9a939dd43c41d8&version=nightly
error message (from playground)