Description
rust-analyzer version: rust-analyzer 1 (862a300 2023-09-24)
rustc version: 1.72.1 (d5c2e9c34 2023-09-13)
relevant settings: nothing special
editor: helix 23.05
At the editing encountered panic at hir diagnostic:
thread 'Worker' panicked at 'index out of bounds: the len is 0 but the index is 0', crates/hir-ty/src/diagnostics/match_check/usefulness.rs:371:9
preceded with the following message:
[ERROR hir_ty::diagnostics::match_check::deconstruct_pat] trying to compare incompatible constructors Single and IntRange(IntRange { range: 1..=1 })
The code doesn't compiles, though syntax check passes. Unfortunately I'm unable to share the code, nor figure out where MRE. The multi-line stacktrace is shrunk by the editor logger, so I'm only able get stack backtrace:\n
😮💨