Currently running rustdoc --test foo.md will automatically insert
#[ feature(macro_rules, globs, struct_variant, managed_boxes) ];
into every snippet. This is a stopgap measure added by #12747 to easy migration from the old extract-tests.py driver to the new rustdoc --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.
Currently running
rustdoc --test foo.mdwill automatically insertinto every snippet. This is a stopgap measure added by #12747 to easy migration from the old
extract-tests.pydriver to the newrustdoc --testone.Fixing this would preferably involve removing as many of the uses of feature gated things as possible from the tutorial, manual and guides.