Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save GuillaumeGomez/7b87f058b073dc3f9d2a976c0f2de4f1 to your computer and use it in GitHub Desktop.
Save GuillaumeGomez/7b87f058b073dc3f9d2a976c0f2de4f1 to your computer and use it in GitHub Desktop.
thread '<unnamed>' panicked at 'index out of bounds: the len is 10 but the index is 10', /Users/imperio/rust/rust/src/libcore/slice/mod.rs:2049:10
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
1: std::sys_common::backtrace::print
2: std::panicking::default_hook::{{closure}}
3: std::panicking::default_hook
4: std::panicking::rust_panic_with_hook
5: std::panicking::continue_panic_fmt
6: rust_begin_unwind
7: core::panicking::panic_fmt
8: core::panicking::panic_bounds_check
9: rustc::ty::query::__query_compute::crate_name
10: rustc::ty::query::<impl rustc::ty::query::config::QueryAccessors<'tcx> for rustc::ty::query::queries::crate_name<'tcx>>::compute
11: rustc::dep_graph::graph::DepGraph::with_task_impl
12: rustc::ty::context::tls::with_related_context
13: rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::force_query_with_job
14: rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::get_query
15: rustdoc::clean::inline::record_extern_fqn
16: rustdoc::clean::register_def
17: <[syntax::ast::Attribute] as rustdoc::clean::Clean<rustdoc::clean::Attributes>>::clean
18: <rustdoc::doctree::Function as rustdoc::clean::Clean<rustdoc::clean::Item>>::clean
19: <alloc::vec::Vec<T> as alloc::vec::SpecExtend<T, I>>::spec_extend
20: <rustdoc::doctree::Module as rustdoc::clean::Clean<rustdoc::clean::Item>>::clean
21: <rustdoc::visit_ast::RustdocVisitor<'a, 'tcx, 'rcx, 'cstore> as rustdoc::clean::Clean<rustdoc::clean::Crate>>::clean
22: rustdoc::core::run_core::{{closure}}::{{closure}}
23: rustc::ty::context::tls::enter_context
24: <std::thread::local::LocalKey<T>>::with
25: rustc_driver::driver::phase_3_run_analysis_passes
26: <scoped_tls::ScopedKey<T>>::set
27: rustdoc::core::run_core
28: <scoped_tls::ScopedKey<T>>::set
29: syntax::with_globals
30: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
31: std::panicking::try::do_call
32: __rust_maybe_catch_panic
33: rustc_driver::monitor
34: rustdoc::rust_input
35: rustdoc::main_args
36: <scoped_tls::ScopedKey<T>>::set
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.30.0-dev running on x86_64-apple-darwin
note: compiler flags: -Z unstable-options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment