racer
racer copied to clipboard
thread 'searcher' panicked at 'called `Option::unwrap()` on a `None` value'
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:
- 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
By the way, I just tried this with the latest racer built from source at c2255dc8f43575ad969db4b7645b7ee912dc5e78 and it's doing the same thing.
any news? How to fix?