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

Can't build documentation #172

Closed
michaelmior opened this issue Jul 15, 2017 · 4 comments
Closed

Can't build documentation #172

michaelmior opened this issue Jul 15, 2017 · 4 comments

Comments

@michaelmior
Copy link

When trying to build documentation for my crate which uses peg and peg-syntax-ext, I get the following error

warning: source code was requested to be rendered, but processing `<peg expansion>` had an error: No such file or directory (os error 2)
@kevinmehall
Copy link
Owner

Interesting find. It's just a warning, not an error; docs are still built, but it complains that it can't find the source code to format for the [src] link in the docs.

Looking at the rustdoc source code, we could make rustdoc ignore it by changing the fake filename to <peg macros>, but it might also make sense to patch rustdoc to ignore everything in angle brackets, as it's clearly not a real file.

@kevinmehall
Copy link
Owner

kevinmehall commented Jul 23, 2017

This is apparently a recent rustc/rustdoc regression: rust-lang/rust#43371

@michaelmior
Copy link
Author

Yes, it is just a warning, although documentation is not built in my case.

@kevinmehall
Copy link
Owner

No longer seeing this with the latest rustc nightly.

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