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
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)
The text was updated successfully, but these errors were encountered:
dtolnay
changed the title
Request: Expand doctests
Expand doctests
Aug 4, 2023
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.
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)The text was updated successfully, but these errors were encountered: