-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
A-tytype system / type inference / traits / method resolutiontype system / type inference / traits / method resolutionC-bugCategory: bugCategory: bugI-panicS-unactionableIssue requires feedback, design decisions or is blocked on other workIssue requires feedback, design decisions or is blocked on other work
Description
While working on cg_clif:
thread 'Worker' panicked at 'called `Option::unwrap()` on a `None` value', /github/home/.cargo/registry/src/github.com-1ecc6299db9ec823/chalk-solve-0.86.0/src/clauses/builtin_traits/fn_family.rs:90:55
stack backtrace:
0: rust_begin_unwind
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:584:5
1: core::panicking::panic_fmt
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panicking.rs:142:14
2: core::panicking::panic
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panicking.rs:48:5
3: chalk_solve::clauses::builtin_traits::fn_family::add_fn_trait_program_clauses
4: chalk_solve::clauses::builder::ClauseBuilder<I>::push_binders
5: chalk_solve::clauses::builtin_traits::add_builtin_program_clauses
6: chalk_recursive::solve::SolveIterationHelpers::solve_from_clauses
7: chalk_recursive::recursive::<impl chalk_recursive::fixed_point::SolverStuff<chalk_ir::UCanonical<chalk_ir::InEnvironment<chalk_ir::Goal<I>>>,core::result::Result<chalk_solve::solve::Solution<I>,chalk_ir::NoSolution>> for &dyn chalk_solve::RustIrDatabase<I>>::solve_iteration
8: chalk_recursive::fixed_point::RecursiveContext<K,V>::solve_goal
9: chalk_recursive::fixed_point::RecursiveContext<K,V>::solve_root_goal
10: hir_ty::traits::trait_solve_query
11: salsa::runtime::Runtime::execute_query_implementation
12: salsa::derived::slot::Slot<Q,MP>::read_upgrade
13: salsa::derived::slot::Slot<Q,MP>::read
14: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch
15: salsa::QueryTable<Q>::get
16: <DB as hir_ty::db::HirDatabase>::trait_solve_query
17: hir_ty::db::trait_solve_wait
18: <DB as hir_ty::db::HirDatabase>::trait_solve
19: hir_ty::method_resolution::iterate_trait_method_candidates
20: hir_ty::method_resolution::iterate_method_candidates_by_receiver
21: hir_ty::method_resolution::iterate_method_candidates_dyn
22: hir::Type::iterate_method_candidates_dyn
23: hir::Type::iterate_method_candidates
24: ide_completion::completions::dot::complete_dot
25: ide_completion::completions::complete_name_ref
26: ide_completion::completions
27: std::panicking::try
28: rust_analyzer::handlers::handle_completion
29: std::panicking::try
30: <F as threadpool::FnBox>::call_box
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 2:39:37 PM] Request textDocument/completion failed.
Message: request handler panicked: called `Option::unwrap()` on a `None` value
Code: -32603
rust-analyzer version: rust-analyzer version: 0.3.1258-standalone
rustc version: rustc 1.66.0-nightly (6e95b6d 2022-10-22)
relevant settings: N/A
Absolucy, namse, sigmaSd, SKaplanOfficial, zfphex and 1 more
Metadata
Metadata
Assignees
Labels
A-tytype system / type inference / traits / method resolutiontype system / type inference / traits / method resolutionC-bugCategory: bugCategory: bugI-panicS-unactionableIssue requires feedback, design decisions or is blocked on other workIssue requires feedback, design decisions or is blocked on other work