Rustdoc no longer processes text, no_run
code blocks
#41167
Labels
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
P-high
High priority
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
Milestone
With Rust 1.16.0, the following snippet is parsed correctly by
rustdoc
:However, this appears to be broken on the latest
nightly
(tested on53f4bc311 2017-04-07
). The code block appears to be interpreted as rust code, giving this error:The text was updated successfully, but these errors were encountered: