-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
doc test marked with ignore
gets compiled and executed
#32556
Comments
I believe this is a duplicate, but can't remember the original... |
I'll take a look. |
The issue seems to be in the |
@steveklabnik you are right: #28712 |
I just experienced the bug as well now. Is there a workaround? |
Adding an empty line before the code block and hoping that the common-mark pull request gets merged some day. |
Triage: This is fixed. Probably because common-mark got merged. |
This will check for regression on issue rust-lang#32556
That's correct! nice catch, @Phlosioneer |
…n-test, r=GuillaumeGomez Add test for rustdoc ignore test This will check for regression on issue rust-lang#32556
…n-test, r=GuillaumeGomez Add test for rustdoc ignore test This will check for regression on issue rust-lang#32556
STR
But, if we add an empty line between the start of the doc test fence and TEXT GOES HERE, the doc test is ignored.
/// TEXT GOES HERE +/// /// ``` ignore, /// #extern crate foo; /// #
Meta
cc @azerupi
The text was updated successfully, but these errors were encountered: