Skip to content
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 'searcher' panicked at 'called Option::unwrap() on a None value' #1084

Open
davesque opened this issue Nov 25, 2019 · 2 comments
Open

Comments

@davesque
Copy link

davesque commented Nov 25, 2019

Trying to use racer with deoplete-rust. Getting these option unwrapping panicks all over the place. Here's one reliable way to duplicate at least one of them:

With racer v2.1.28:

  1. Run racer on this file:
$ git clone https://github.com/rust-lang/rust
$ cd rust
$ git checkout 91642e3ac0120c8e9cdd5f3c85ad03f3bf1b8b69
$ racer complete 1 0 src/libsyntax/util/parser.rs
PREFIX 0,0,
thread 'searcher' panicked at 'called `Option::unwrap()` on a `None` value', /rustc/412f43ac5b4ae8c3599e71c6972112e9be4758fa/src/libcore/macros/mod.rs:15:40
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
ERROR 2019-11-25T21:27:39.310446000Z: racer: Search thread panicked: Any
END
@davesque
Copy link
Author

By the way, I just tried this with the latest racer built from source at c2255dc and it's doing the same thing.

@peterwillcn
Copy link

peterwillcn commented Sep 12, 2020

any news? How to fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants