-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
rustdoc: unterminated string with inner attributes #99089
Copy link
Copy link
Closed
Labels
A-doctestsArea: Documentation tests, run by rustdocArea: Documentation tests, run by rustdocC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-doctestsArea: Documentation tests, run by rustdocArea: Documentation tests, run by rustdocC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
When an inner attribute has a string which spans multiple lines,
rustdoc --testwill complain about it being unterminated.I tried this code:
(Note: The backslash doesn't matter.)
I expected to see this happen:
rustdoc --testshould run successfully.Instead, this happened:
rustdoc --testfails with:Meta
rustc --version --verbose: