rustdoc: unterminated string with inner attributes #99089
Labels
A-doctests
Area: Documentation tests, run by rustdoc
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
When an inner attribute has a string which spans multiple lines,
rustdoc --test
will complain about it being unterminated.I tried this code:
(Note: The backslash doesn't matter.)
I expected to see this happen:
rustdoc --test
should run successfully.Instead, this happened:
rustdoc --test
fails with:Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: