Doc comments causing build errors #83492
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
rustc 1.51.0 (2fd73fabe 2021-03-23)
rustc 1.53.0-nightly (07e0e2ec2 2021-03-24)
Docstrings placed at a few selected positions that cause either a warning (
good
), an unrelated error (bad
) or both (ugly
).On the third example we at least get an additional warning to point us in the right direction.
The second example can become nightmare to catch :3
The text was updated successfully, but these errors were encountered: