Closed
Description
src/ui/curses.rs:925:25: 925:31 error: internal compiler error: ident only path should have been covered already [5/1813]
src/ui/curses.rs:925 fn input(&mut self, Option<astate : actor::State>) -> Option<Action> {
^~~~~~
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/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:129
stack backtrace:
1: 0x7f143d757210 - sys::backtrace::write::h58f3688f47ea9825KlC
2: 0x7f143d77fac0 - panicking::on_panic::h6a53d3220988f2eebYL
3: 0x7f143d6c0720 - rt::unwind::begin_unwind_inner::h72a0c6e103bfcdc3zCL
4: 0x7f143a993de0 - rt::unwind::begin_unwind::h2955836616559227712
5: 0x7f143a993d70 - diagnostic::SpanHandler::span_bug::h3f1d138a57b9309dqZE
6: 0x7f143a9b6780 - parse::parser::Parser<'a>::parse_pat::h809bd931d91273bfrML
7: 0x7f143a9af1c0 - parse::parser::Parser<'a>::parse_arg_general::h7f637322c002079335J
8: 0x7f143a9ddbd0 - parse::parser::Parser<'a>::parse_seq_to_before_end::h6385074398263587049
9: 0x7f143a9daea0 - parse::parser::Parser<'a>::parse_method::h69be3d43b9c18e71UXM
10: 0x7f143a9de930 - parse::parser::Parser<'a>::parse_item_impl::hb260387cee1097d8u5M
11: 0x7f143a9cf6e0 - parse::parser::Parser<'a>::parse_item_::h9be2ca1f12dcd0aeuVN
12: 0x7f143a9e0c50 - parse::parser::Parser<'a>::parse_mod_items::hb94387fccea63b29KkN
13: 0x7f143a9e1fe0 - parse::parser::Parser<'a>::eval_src_mod::hcbd8c557b230c4ddKsN
14: 0x7f143a9cf6e0 - parse::parser::Parser<'a>::parse_item_::h9be2ca1f12dcd0aeuVN
15: 0x7f143a9e0c50 - parse::parser::Parser<'a>::parse_mod_items::hb94387fccea63b29KkN
16: 0x7f143a9e1fe0 - parse::parser::Parser<'a>::eval_src_mod::hcbd8c557b230c4ddKsN
17: 0x7f143a9cf6e0 - parse::parser::Parser<'a>::parse_item_::h9be2ca1f12dcd0aeuVN
18: 0x7f143a9e0c50 - parse::parser::Parser<'a>::parse_mod_items::hb94387fccea63b29KkN
19: 0x7f143a9ec1a0 - parse::parser::Parser<'a>::parse_crate_mod::h961b7044a0ca58e2AmO
20: 0x7f143a9ff060 - parse::parse_crate_from_file::h8fb07d2676fac76cqOV
21: 0x7f143dde15a0 - driver::phase_1_parse_input::closure.16948
22: 0x7f143ddbb8d0 - driver::phase_1_parse_input::h49108518c50c4641Qra
23: 0x7f143ddb82d0 - driver::compile_input::hfb1bb38c59866d0fGba
24: 0x7f143de87510 - run_compiler::hf2a7d9848e51e3b5Zbc
25: 0x7f143de85e10 - thunk::F.Invoke<A, R>::invoke::h12698859262113329290
26: 0x7f143de84d00 - rt::unwind::try::try_fn::h10854600533917764358
27: 0x7f143d7ec880 - rust_try_inner
28: 0x7f143d7ec870 - rust_try
29: 0x7f143de85000 - thunk::F.Invoke<A, R>::invoke::h4174228679526982116
30: 0x7f143d76bb60 - sys::thread::thread_start::h60ae7cb39d135ef7R4G
31: 0x7f1437653460 - start_thread
32: 0x7f143d347769 - clone
33: 0x0 - <unknown>
rustc 1.0.0-nightly (2b01a37ec 2015-02-21) (built 2015-02-22)
Source commit and place compiler complains about: https://github.com/dpc/rhex/blob/24c1326c2f792fbd5da5305fb8014cdd36a161bb/src/ui/curses.rs#L925
Obviously the syntax is wrong, but I report as I guess compiler should not crash because of it.
Metadata
Metadata
Assignees
Labels
No labels