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

cargo doc currently fails when documenting the syntax crate #29

Open
lenawanel opened this issue Jun 17, 2024 · 3 comments
Open

cargo doc currently fails when documenting the syntax crate #29

lenawanel opened this issue Jun 17, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@lenawanel
Copy link
Contributor

error: failed to render source code for `crates/syntax/src/lib.rs`: "crates/syntax/src/lib.rs": No such file or directory (os error 2)
  --> crates/syntax/src/lib.rs:1:1
   |
1  | / use std::mem;
2  | |
3  | | pub type SyntaxBuilder = eventree::SyntaxBuilder<TreeConfig>;
4  | | pub type SyntaxElement = eventree::SyntaxElement<TreeConfig>;
...  |
93 | |     Error,
94 | | }
   | |_^

command (in the repository root):

cargo doc
@NotAFlyingGoose
Copy link
Member

uhhhhh what? the error gives practically no information lol

I'm getting the same error too

@NotAFlyingGoose
Copy link
Member

The only working command is this:

cargo doc --workspace --exclude parser --exclude syntax --exclude lexer --no-deps

@NotAFlyingGoose
Copy link
Member

I posted an issue to rust-lang/cargo to see if they had any ideas rust-lang/rust#126638

@NotAFlyingGoose NotAFlyingGoose added the bug Something isn't working label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants