You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
huang12zheng opened this issue
Jul 14, 2022
· 1 comment
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Z-scrape-examplesNightly: rustdoc scrape examples
Thanks for the report. If trait method aren't being scraped, that's an issue within Rustdoc and not Cargo, so I will open an issue over there once I confirm.
We are still figuring out how to manage tests within Cargo. The functionality is there, but there's tricky issues around dev-dependencies as described in #10343.
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Z-scrape-examplesNightly: rustdoc scrape examples
Problem
I found there are two cases, scrape example is not working:
I don't see it in RFC3123,So this may be a supplementary form
I didn't see such information in rust-lang/rust#88791 either
Something to do with this: Add
--scrape-tests
option to rustdoc to scrape functions marked#[test]
rust#93497My guess is that rustdoc supports this functionality, but Cargo doesn't.
I tried a few things:
But it doesn't work
Proposed Solution
No response
Notes
No response
The text was updated successfully, but these errors were encountered: