-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
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
thread 'Worker' panicked at 'called Option::unwrap()
on a None
value', crates\hir-expand\src\db.rs:540:51
#15327
Comments
Minimized: pub fn astar(
neighbor_edge_weight: impl Fn() ->> i32,
)
where
i32: Eq,
{
} |
@Ivanbeethoven does your code compile? The report is for code with a typo (there's no extra |
@Ivanbeethoven can you try to minimize it? It's probably something in the file you're looking at, you can start by removing large chunks of code until it stops crashing. |
ok. |
rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P)
rust-analyzer version: 0.3.1591-standalone (d824511 2023-07-16)
rustc version: (eg. output of
rustc -V
)rustc 1.71.0 (8ede3aae2 2023-07-12)
relevant settings: (eg. client settings, or environment variables like
CARGO
,RUSTC
,RUSTUP_HOME
orCARGO_HOME
)I have a repo that consistently crashes with this error (in vscode in windows). It continues to crash on reload. So consistently that it is very annoying. Open the repo in the
rust-analyzer-crash
branch as a folder/workspace and then openadvent_lib/src/algorithms.rs
. Immediate and repeated:It does stop crashing if the error (extra > on line 21 col 39) is removed.
@lowr has indicated this is not the same as #13531
The text was updated successfully, but these errors were encountered: