-
Notifications
You must be signed in to change notification settings - Fork 13.3k
#[deny(missing_docs)]
ignores exported macro_rules!
#56334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cc @petrochenkov @rust-lang/lang I cannot decide whether this is expected behavior or not, but it makes sense that |
We don't guarantee backwards-compatibility for |
Lang team discussion agreed with the two comments above; the lint should warn for this. |
… r=varkor check missing docs for reexported macros as well Fixes #56334.
This broke compilation of existing code in the rustc-perf benchmark suite, see rust-lang/rustc-perf#325 I see the comment "We don't guarantee backwards-compatibility for |
@nnethercote Seems like that suite should set |
If my crate exports a
macro_rules!
macro, thedeny(missing_docs)
attribute has no effect even though it probably should.The following code should, at the very least, provide a warning
Preventing this code from compiling would likely break some backwards compatability, but I don't see why it shouldn't at least give a warning.
The text was updated successfully, but these errors were encountered: