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: 0x1080028f5 - sys::backtrace::write::ha0bc4a9bddc6a867Cxs
2: 0x10800b9fe - panicking::on_panic::ha9dfbe03b50c004akYw
3: 0x107fc53e2 - rt::unwind::begin_unwind_inner::hca93a9fd146d03e3vGw
4: 0x105c4341f - rt::unwind::begin_unwind::h12257120184082142928
5: 0x105c44fac - diagnostic::Handler::bug::hdb7b475d950de2affgB
6: 0x10525ae1b - session::Session::bug::h38212f3085fe92a9WMu
7: 0x1049ba1a6 - trans::type_of::sizing_type_of::hd83b0b86c28408b3Q9M
8: 0x1049cf88f - trans::common::type_is_immediate::h0876c0b6c95f042fsVr
9: 0x104a81b4e - trans::type_of::type_of_rust_fn::h0ce69257a422420ai4M
10: 0x1049c9d6b - trans::declare::declare_rust_fn::hbc39906b18c35241wWA
11: 0x1049f24f3 - trans::base::register_fn::h238043a7cf1ebd1bUmj
12: 0x1049ed74d - trans::base::get_item_val::h81e709e1ca0a5956Bzj
13: 0x1049e9967 - trans::base::trans_item::h4681cf61d45ba637qcj
14: 0x1049f6acb - trans::base::trans_crate::hdad882c410b52def4Zj
15: 0x1048150cc - driver::phase_4_translate_to_llvm::h244209be2902adbb5Oa
16: 0x10480f4f9 - driver::phase_3_run_analysis_passes::closure.16553
17: 0x10480949c - middle::ty::ctxt<'tcx>::create_and_enter::h11833648062093292934
18: 0x104804576 - driver::phase_3_run_analysis_passes::h15875535017969011355
19: 0x1047ea3fc - driver::compile_input::h6def406cf96f3e5cTba
20: 0x1048ce010 - run_compiler::h9a5b2d6b48e3b7b5A7b
21: 0x1048cbaa0 - boxed::F.FnBox<A>::call_box::h3910288369276656821
22: 0x1048cb317 - rt::unwind::try::try_fn::h1787388724433897585
23: 0x10800b4af - __rust_try_inner
24: 0x10800b4ea - __rust_try
25: 0x107ff4e65 - rt::unwind::try::inner_try::ha8bb193a35fe1e4doCw
26: 0x1048cb559 - boxed::F.FnBox<A>::call_box::h9890362425038798925
27: 0x10800a48d - sys::thread::Thread::new::thread_start::h7b2b9ac21a4919b4Z0v
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.