Comments (5)
I'm getting this error atm:
error[E0463]: can't find crate for `rustc_parse`
--> rustdoc-highlight-0.1.10/src/lib.rs:19:1
|
19 | extern crate rustc_parse;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
error: aborting due to previous error
from cargo-src.
@mimoo Which rustc version are you using? (rustc -V
) And have you installed rustc-dev
for your nightly toolchain? (rustup component add --toolchain nightly rustc-dev
)
from cargo-src.
Which rustc version are you using?
rustc 1.39.0 (4560ea788 2019-11-04)
And have you installed rustc-dev for your nightly toolchain?
tried that, and rustup update nightly
and still getting the same error.
from cargo-src.
not sure how cargo works :D so I created a directory and used rustup override set nightly
and now getting another error when trying to install cargo-src:
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
from cargo-src.
@mimoo Which rustc version are you using? (
rustc -V
)
rustc 1.36.0 (a53f9df32 2019-07-03)
And have you installed
rustc-dev
for your nightly toolchain? (rustup component add --toolchain nightly rustc-dev
)
When I try that command I get this error:
error: toolchain 'nightly-x86_64-apple-darwin' does not contain component 'rustc-dev' for target 'x86_64-apple-darwin'
Note that I'm getting a different error now when I run "cargo +nightly install cargo-src":
Compiling rustdoc-highlight v0.1.10
error[E0463]: can't find crate for `rustc_parse`
--> /Users/luis/.cargo/registry/src/github.com-1ecc6299db9ec823/rustdoc-highlight-0.1.10/src/lib.rs:19:1
|
19 | extern crate rustc_parse;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ 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.6 (/Users/luis/code/cargo-src)`, intermediate artifacts can be found at `/Users/luis/code/cargo-src/target`
Caused by:
build failed
from cargo-src.
Related Issues (20)
- Going back does not resize page
- install issue HOT 2
- Doesn't seem to work on its own source code
- Rendered markdown gets images from the wrong place
- Support other languages HOT 1
- Support easily swapping out styling
- Allow collapsing definitions
- Render markdown docs HOT 3
- Show an overview of symbols by kind
- Failed to install 0.1.4 HOT 2
- Error while loading shared libraries: libsyntax.so HOT 1
- Display HTML and other markup files correctly
- --open doesn't work on windows.
- method `emit_fatal_errors` is private
- Using wrong mime type application/octet-stream for js files
- `cargo install cargo-src` fails on nightly HOT 1
- can't find crate rustc_parse HOT 6
- Almost nothing works
- del
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-src.