-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
Happened when i removed a generic parameter somewhere. We probably need to do some sanity checks before passing things to the rustc_abi crate (or change rustc_abi crate to expose fallible API)
thread 'Worker' panicked at 'index out of bounds: the len is 1 but the index is 1', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\hkalbasi-rustc-ap-rustc_abi-0.0.20221221\src\lib.rs:1124:59
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library\std\src\panicking.rs:578
1: core::panicking::panic_fmt
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library\core\src\panicking.rs:67
2: core::panicking::panic_bounds_check
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library\core\src\panicking.rs:162
3: chalk_recursive::fixed_point::cache::Cache<K,V>::insert
4: hir_ty::mir::eval::Evaluator::heap_allocate
5: hir_ty::mir::eval::interpret_mir
6: hir_ty::consteval::const_eval_query
7: salsa::runtime::Runtime::execute_query_implementation
8: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
9: salsa::derived::slot::Slot<Q,MP>::read
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch
11: <DB as hir_ty::db::HirDatabase>::const_eval::__shim
12: <DB as hir_ty::db::HirDatabase>::const_eval
13: hir::Const::render_eval
14: ide::hover::render::definition
15: ide::hover::hover_for_definition
16: ide::hover::hover
17: std::panicking::try
18: rust_analyzer::handlers::request::handle_hover
19: std::panicking::try
20: core::ops::function::FnOnce::call_once{{vtable.shim}}