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

unwrap on None in metadata.rs on calling find def #1134

Open
thor314 opened this issue Oct 8, 2020 · 0 comments
Open

unwrap on None in metadata.rs on calling find def #1134

thor314 opened this issue Oct 8, 2020 · 0 comments

Comments

@thor314
Copy link

thor314 commented Oct 8, 2020

I can reproduce this error for any find-definition.
debug:


$ cd /home/thor/r/parity-common/ethbloom/
$ export CARGO_HOME=/home/thor/.cargo
$ export RUST_SRC_PATH=/home/thor/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library
$ /home/thor/.cargo/bin/racer find-definition 74 26 /home/thor/r/parity-common/ethbloom/src/lib.rs /tmp/racerPMtBCu

This command terminated with exit code 101.

stdout:


Process *async-racer* exited abnormally with code 101

stderr:

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/thor/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.1.39/src/racer/metadata.rs:51:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
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

1 participant