Doc-examples using #[doc]
do not have triple backticks stripped before being compiled
#78964
Labels
A-markdown-parsing
Area: Markdown parsing for doc-comments
P-high
High priority
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Nightly code fails to compile.
Code
I tried this code:
I expected to see this happen: Compiling and working like it does on stable.
Instead, compiler says:
Version it worked on
It most recently worked on: rustc 1.49.0-nightly (ffa2e7a 2020-10-24)
Version with regression
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: