We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic context: > version: 1.85.1 (4eb1612 2025-03-15) request: textDocument/diagnostic DocumentDiagnosticParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "...", query: None, fragment: None, }, }, identifier: None, previous_result_id: None, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/compiler/rustc_index/src/bit_set.rs:182:9: inserting element at index 1 but domain size is 1 stack backtrace: 0: rust_begin_unwind 1: core::panicking::panic_fmt 2: <rustc_pattern_analysis::usefulness::PlaceInfo<hir_ty::diagnostics::match_check::pat_analysis::MatchCheckCtx>>::split_column_ctors::<core::iter::adapters::map::Map<core::iter::adapters::map::Map<core::slice::iter::Iter<rustc_pattern_analysis::usefulness::MatrixRow<hir_ty::diagnostics::match_check::pat_analysis::MatchCheckCtx>>, <rustc_pattern_analysis::usefulness::Matrix<hir_ty::diagnostics::match_check::pat_analysis::MatchCheckCtx>>::heads::{closure#0}>, rustc_pattern_analysis::usefulness::compute_exhaustiveness_and_usefulness<hir_ty::diagnostics::match_check::pat_analysis::MatchCheckCtx>::{closure#0}::{closure#1}>> 3: rustc_pattern_analysis::usefulness::compute_exhaustiveness_and_usefulness::<hir_ty::diagnostics::match_check::pat_analysis::MatchCheckCtx> 4: <hir_ty::diagnostics::match_check::pat_analysis::MatchCheckCtx>::compute_match_usefulness 5: <hir_ty::diagnostics::expr::ExprValidator>::validate_body 6: <hir_ty::diagnostics::expr::BodyValidationDiagnostic>::collect 7: <hir::DefWithBody>::diagnostics 8: <hir::ModuleDef>::diagnostics 9: <hir::Module>::diagnostics 10: ide_diagnostics::semantic_diagnostics 11: ide_diagnostics::full_diagnostics 12: <ide::Analysis>::full_diagnostics 13: rust_analyzer::handlers::request::handle_document_diagnostics 14: <<stdx::thread::pool::Pool>::spawn<<rust_analyzer::task_pool::TaskPool<rust_analyzer::main_loop::Task>>::spawn<<rust_analyzer::handlers::dispatch::RequestDispatcher>::on_with_thread_intent<true, false, lsp_types::request::DocumentDiagnosticRequest>::{closure#0}>::{closure#0}>::{closure#0} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
rust-analyzer version: rust-analyzer 1.85.1 (4eb1612 2025-03-15)
rust-analyzer 1.85.1 (4eb1612 2025-03-15)
rustc version: rustc 1.85.1 (4eb161250 2025-03-15)
rustc 1.85.1 (4eb161250 2025-03-15)
editor or extension: Neovim via native LSP integration
I can't share any code examples unfortunately, I'll try to remove some code to find a minimal example later, but that's what I have now 🙏🏽
The text was updated successfully, but these errors were encountered:
No branches or pull requests
rust-analyzer version:
rust-analyzer 1.85.1 (4eb1612 2025-03-15)
rustc version:
rustc 1.85.1 (4eb161250 2025-03-15)
editor or extension: Neovim via native LSP integration
I can't share any code examples unfortunately, I'll try to remove some code to find a minimal example later, but that's what I have now 🙏🏽
The text was updated successfully, but these errors were encountered: