Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
error: internal compiler error: fictitious type impl Parser<u8, &'static [u8], error::Error<u8>> + Sized + 'static in sizing_type_of()
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
thread 'rustc' panicked at 'Box<Any>', src/libsyntax/diagnostic.rs:253
stack backtrace:
1: 0x1070328f5 - sys::backtrace::write::hbde7a04ac5266f40Cxs
2: 0x10703b9fe - panicking::on_panic::hebff0ba18b62efb1kYw
3: 0x106ff53e2 - rt::unwind::begin_unwind_inner::hda386695be757df8vGw
4: 0x104c6741f - rt::unwind::begin_unwind::h4700935743387377434
5: 0x104c68fac - diagnostic::Handler::bug::hcceba97f6d9aeec8fgB
6: 0x10426eceb - session::Session::bug::h97ef7f7a97619fe0WMu
7: 0x1039d0216 - trans::type_of::sizing_type_of::h6ea26cb9a3bfb4cdg9M
8: 0x1039e58ff - trans::common::type_is_immediate::h5be3702819ce4780SUr
9: 0x103a97b3e - trans::type_of::type_of_rust_fn::h49ad5f91bfb3c593I3M
10: 0x1039dfddb - trans::declare::declare_rust_fn::he40ee93cf5c08cecWVA
11: 0x103a08503 - trans::base::register_fn::h2646f7606f62eb5eUmj
12: 0x103a03766 - trans::base::get_item_val::hc457acd0c2d88689Bzj
13: 0x1039ff9d7 - trans::base::trans_item::h22f6c760e884d5fdqcj
14: 0x103a0cabb - trans::base::trans_crate::h30b24ebb13c833e0uZj
15: 0x10382609c - driver::phase_4_translate_to_llvm::haff2f7661f8f87dd5Oa
16: 0x1038204c9 - driver::phase_3_run_analysis_passes::closure.16553
17: 0x10381a46c - middle::ty::ctxt<'tcx>::create_and_enter::h6619625694301574285
18: 0x103815546 - driver::phase_3_run_analysis_passes::h5845844168846824478
19: 0x1037fb3cc - driver::compile_input::h0bb6f2513be6221fTba
20: 0x1038df010 - run_compiler::hf51db2af17c318e3A7b
21: 0x1038dcaa0 - boxed::F.FnBox<A>::call_box::h17192164299326116466
22: 0x1038dc317 - rt::unwind::try::try_fn::h12056537783116910705
23: 0x10703b4af - __rust_try_inner
24: 0x10703b4ea - __rust_try
25: 0x107024e65 - rt::unwind::try::inner_try::h85467bc95f1212e0oCw
26: 0x1038dc559 - boxed::F.FnBox<A>::call_box::h14521640817662912483
27: 0x10703a48d - sys::thread::Thread::new::thread_start::h3fac1f56d650d810Z0v
28: 0x7fff900ce059 - _pthread_body
29: 0x7fff900cdfd6 - _pthread_start
Could not compile `parser`.
To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.