add macro check for lint

This commit is contained in:
dylan_DPC 2018-08-21 16:29:08 +05:30
parent b6cbc1e147
commit 17eb64a8b8

View File

@ -283,7 +283,8 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnsafeCode {
declare_lint! {
pub MISSING_DOCS,
Allow,
"detects missing documentation for public members"
"detects missing documentation for public members",
report_in_external_macro: true
}
pub struct MissingDoc {