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

Expand doctests #164

Open
drewcassidy opened this issue Aug 13, 2022 · 1 comment
Open

Expand doctests #164

drewcassidy opened this issue Aug 13, 2022 · 1 comment

Comments

@drewcassidy
Copy link

I know this is an extremely niche thing to want, but the macro im working on fails in doctests where it succeeds in other code. Being able to expand the doctests would be very helpful to understand what is happening here (Ive tried: cargo expand --lib --tests doesnt include doctests. im guessing there's some hidden target I can point it at but my searches of the documentation turn up nothing)

@dtolnay dtolnay changed the title Request: Expand doctests Expand doctests Aug 4, 2023
@schneems
Copy link

I had the desire to do this today. My use case is: I can induce a failure in the wild, but not in the library with doc tests: schneems/magic_migrate#8.

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