Skip to content

clippy_lints compile error due to unresolved import #6387

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

Closed
pro-grammer1 opened this issue Nov 26, 2020 · 3 comments
Closed

clippy_lints compile error due to unresolved import #6387

pro-grammer1 opened this issue Nov 26, 2020 · 3 comments

Comments

@pro-grammer1
Copy link
Contributor

I would like to contribute, so I cloned the repo and ran setup-toolchain.sh, which worked. I then tried building clippy_lints, but ran into this error:

error[E0432]: unresolved import `rustc_ast::util::lev_distance`
 --> clippy_lints/src/attrs.rs:8:22
  |
8 | use rustc_ast::util::lev_distance::find_best_match_for_name;
  |                      ^^^^^^^^^^^^ could not find `lev_distance` in `util`

I haven't changed any code and I followed the Basics documentation, so I expected it to work. What am I doing wrong?

Also, is this the right place to ask this question?

@giraffate
Copy link
Contributor

Oh, it's not your fault. We seem to need the sync process from rust-lang/rust.

@giraffate
Copy link
Contributor

The sync process will be done by #6389. So, please wait until this is merged.

@pro-grammer1
Copy link
Contributor Author

Ok, everything seems to be working now. Thank you.

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