-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
rustc panicked at called Option::unwrap() on a None value #45439
Comments
🤔 We've seen something similar before (#41478). Not a duplicate, but the cause of error is the same: unwrapping a sub-span of type rust/src/librustc_save_analysis/lib.rs Line 706 in 5481098
@sebastiencs Could you share the file you were editing that crashes rustc? Thanks! |
I think I've just run into this issue too. I'm compiling a debug version of Thunderbird (on linux), and the build keeps throwing up this error (output wrapped as it is from the mach build system...) Sorry, no nice easy test case that I can see here.
|
Switching from rustc 1.36.0 to nightly (version 1.38.0-nightly (ad7c55e 2019-08-07) at time of writing) got my build running again. Not sure if much should be read into it - could be loads of other factors involved in the build process - but thought it worth adding :-) |
Save-analysis has been removed from the compiler. |
I'm using RLS with emacs.
When I want to edit one of my files, it makes panic rustc.
There is this issue with only one file, if I edit the others files of my project rustc doesn't panic.
the backtrace:
Let me know if you need any other informations
The text was updated successfully, but these errors were encountered: