Rustdoc should report unknown doc(...)
attributes
#82652
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
#![doc(xxx)]
I expected to see this happen: Rustdoc warns that
xxx
is an unknown doc attribute.Instead, this happened: Rustdoc silently ignores the attribute.
Meta
rustdoc --version
: rustdoc 1.52.0-nightly (0148b97 2021-02-18)Found while working on #82651.
The text was updated successfully, but these errors were encountered: