rustdoc should not automatically insert feature gates for testing code snippets in plain markdown files #12773
Labels
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Currently running
rustdoc --test foo.md
will automatically insertinto every snippet. This is a stopgap measure added by #12747 to easy migration from the old
extract-tests.py
driver to the newrustdoc --test
one.Fixing this would preferably involve removing as many of the uses of feature gated things as possible from the tutorial, manual and guides.
The text was updated successfully, but these errors were encountered: