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 error in using projects #764

Open
rbtcollins opened this issue May 4, 2020 · 0 comments
Open

cargo doc error in using projects #764

rbtcollins opened this issue May 4, 2020 · 0 comments

Comments

@rbtcollins
Copy link

I've just filed rust-lang/rust#71908 about an error from cargo doc --no-deps which is ultimately reporting an issue coming from async-std. I'm not entirely sure what is triggering it yet :/.

That bug is about the quality of the error; this bug is about fixing the block, presumably in the macro generated output, or something - I haven't tracked down what I"m using that is triggering it as I mentioned, so I can't be certain of the context yet.

warning: doc comment contains an invalid Rust code block
   --> /home/robertc/.cargo/registry/src/github.com-1ecc6299db9ec823/async-std-1.5.0/src/utils.rs:243:42
    |
243 |         $($head)* extension_trait!(@ext (#[doc = $d]) $($tail)*);
    |                                          ^^^^^^^^^^^
    |
    = help: mark blocks that do not contain Rust code as text: ```text
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

1 participant