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

Fails compilation of cargo-src #5

Open
vi opened this issue Sep 6, 2018 · 4 comments
Open

Fails compilation of cargo-src #5

vi opened this issue Sep 6, 2018 · 4 comments

Comments

@vi
Copy link

vi commented Sep 6, 2018

error[E0432]: unresolved import `syntax::codemap`
  --> /home/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/rustdoc-highlight-0.1.4/src/lib.rs:40:13
   |
40 | use syntax::codemap::{CodeMap, FilePathMapping};
   |             ^^^^^^^ Could not find `codemap` in `syntax`
$ rustc --version
rustc 1.30.0-nightly (1c2e17f4e 2018-09-04)

$ cargo --version
cargo 1.29.0-nightly (0ec7281b9 2018-08-20)
@freesig
Copy link

freesig commented Sep 13, 2018

I'm also getting this

@pzmarzly
Copy link

pzmarzly commented Apr 7, 2019

Version 0.1.7 works on nightly-2019-03-20, not on nightly-2019-04-04, did not test anything in between

@mimoo
Copy link

mimoo commented Dec 15, 2019

I'm getting this error on nightly-2019-12-14:

error[E0061]: this function takes 0 parameters but 1 parameter was supplied
  --> rustdoc-highlight-0.1.10/src/lib.rs:56:16
   |
56 |     let sess = ParseSess::with_silent_emitter(process_configure_mod);
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 0 parameters

error[E0061]: this function takes 0 parameters but 1 parameter was supplied
  --> rustdoc-highlight-0.1.10/src/lib.rs:95:16
   |
95 |     let sess = ParseSess::with_silent_emitter(process_configure_mod);
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 0 parameters

error: aborting due to 2 previous errors

@tan-wei
Copy link

tan-wei commented Jan 31, 2020

Failed on Windows with

  • rustc 1.42.0-nightly (212b2c7da 2020-01-30)
  • cargo 1.42.0-nightly (9d32b7b01 2020-01-26)
   Compiling rustdoc-highlight v0.1.10
error[E0463]: can't find crate for `syntax_expand`
  --> C:\Users\Winterreise\.cargo\registry\src\github.com-1ecc6299db9ec823\rustdoc-highlight-0.1.10\src\lib.rs:21:1       |
21 | extern crate syntax_expand;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error: could not compile `rustdoc-highlight`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-src v0.1.8`, intermediate artifacts can be found at `C:\Users\WINTER~1\AppData\Local\Temp\cargo-installCfuwAy`

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

5 participants