[beta regression] missing_docs lint ignores items generated by external macros #53537
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone
On beta and nightly, items generated by macros in external crates do not have to be documented, even in the presence of
#![deny(missing_docs)]
.Consider this code: https://gist.github.com/0dda35f371bdde94780fc65bb99c4bf0
Now observe the reaction! Compiling with stable:
And with beta:
Note only the two errors!
cc: @Dylan-DPC
The text was updated successfully, but these errors were encountered: