Closed
Description
fn main() {"".chars().fold(|_, _| (), ());}
icea.rs:1:12: 1:42 error: internal compiler error: cat_expr Errd
icea.rs:1 fn main() {"".chars().fold(|_, _| (), ());}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>', C:/msys64/home/bombless/freshrustc/src/libsyntax\diagnostic.rs:130
stack backtrace:
1: 0x7121cab3 - sys::backtrace::write::h65e8c3e2848bc8b9cQD
2: 0x71231e3a - rt::unwind::register::h75c149df7638e28eonJ
3: 0x71183210 - rt::unwind::begin_unwind_inner::h56069089577e9797ykJ
4: 0x7c5fb9 - diagnostic::SpanHandler::span_bug::hd3a58a67988f3bb75cB
5: 0x7c5f83 - diagnostic::SpanHandler::span_bug::hd3a58a67988f3bb75cB
6: 0xdf24c2 - session::Session::span_bug::h5e300cd633c01cdfn2n
7: 0x1778980 - check::regionck::Rcx<'a, 'tcx>.Visitor<'v>::visit_item::h864371e0b5e2bfcdhCd
8: 0x1773a14 - check::regionck::Rcx<'a, 'tcx>.Visitor<'v>::visit_expr::h95e4b6b54e048f17wCd
9: 0x18042f3 - check::CheckItemTypesVisitor<'a, 'tcx>.Visitor<'tcx>::visit_ty::h0e2bd0c28fcfea0bkin
10: 0x17fc221 - check::CheckItemTypesVisitor<'a, 'tcx>.Visitor<'tcx>::visit_item::h40648275ef199a02Yhn
11: 0x18d8d78 - check_crate::hbeb5b259fa92a914tlC
12: 0x18d2fec - check_crate::hbeb5b259fa92a914tlC
13: 0x652df75b - driver::phase_3_run_analysis_passes::hbf2e5a40425b2605oGa
14: 0x652c2a45 - driver::compile_input::h7257ac3eadeade5aQba
15: 0x65376d13 - run_compiler::h7927ca3bbb67862dp2b
16: 0x65374be0 - run::hd85a769d156fbe5b51b
17: 0x65373dea - run::hd85a769d156fbe5b51b
18: 0x71269dec - rust_try
19: 0x71269dc9 - rust_try
20: 0x65374158 - run::hd85a769d156fbe5b51b
21: 0x71225b04 - sys::tcp::TcpListener::bind::hb9cf5a229a477da7SLH
22: 0x7ffda0f816ad - BaseThreadInitThunk
rustc 1.0.0-dev (14192d6df 2015-03-30) (built 2015-04-01)
binary: rustc
commit-hash: 14192d6df5cc714e5c9a3ca70b08f2514d977be2
commit-date: 2015-03-30
build-date: 2015-04-01
host: x86_64-pc-windows-gnu
release: 1.0.0-dev