add macro check for lint
This commit is contained in:
parent
b6cbc1e147
commit
17eb64a8b8
1 changed files with 2 additions and 1 deletions
|
@ -283,7 +283,8 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnsafeCode {
|
||||||
declare_lint! {
|
declare_lint! {
|
||||||
pub MISSING_DOCS,
|
pub MISSING_DOCS,
|
||||||
Allow,
|
Allow,
|
||||||
"detects missing documentation for public members"
|
"detects missing documentation for public members",
|
||||||
|
report_in_external_macro: true
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct MissingDoc {
|
pub struct MissingDoc {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue