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

Specify explicit library (not package) name for rustc_lexer #63041

Closed
wants to merge 1 commit into from

Conversation

SimonSapin
Copy link
Contributor

Hopefully fixes:

   Compiling rustc-ap-syntax v540.0.0
error[E0432]: unresolved import `rustc_lexer`
 --> /home/simon/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-syntax-540.0.0/parse/lexer/mod.rs:8:5
  |
8 | use rustc_lexer::Base;
  |     ^^^^^^^^^^^ use of undeclared type or module `rustc_lexer`

For a dependency declared on rustc-ap-rustc_lexer, when trying to update rustfmt

Hopefully fixes:

```
   Compiling rustc-ap-syntax v540.0.0
error[E0432]: unresolved import `rustc_lexer`
 --> /home/simon/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-syntax-540.0.0/parse/lexer/mod.rs:8:5
  |
8 | use rustc_lexer::Base;
  |     ^^^^^^^^^^^ use of undeclared type or module `rustc_lexer`
```

For a dependency declared on `rustc-ap-rustc_lexer`, when trying to update rustfmt
@rust-highfive
Copy link
Collaborator

r? @eddyb

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 27, 2019
@SimonSapin
Copy link
Contributor Author

Dupe of #63036.

@SimonSapin SimonSapin closed this Jul 27, 2019
@SimonSapin SimonSapin deleted the ap branch July 27, 2019 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants