rustdoc: integrate a proper warning/error handler #46844
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
The current markdown rendering warnings are just a collection of
println!()
statements. It would be worthwhile to create arustc_errors::Handler
for rustdoc to properly emit errors from, so that these and others can be given proper formatting, and possibly even a mini lint system, or at least being able toggle specific errors between allow/warn/err.The text was updated successfully, but these errors were encountered: