Skip to content

Commit 17eb64a

Browse files
committed
add macro check for lint
1 parent b6cbc1e commit 17eb64a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_lint/builtin.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,8 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnsafeCode {
283283
declare_lint! {
284284
pub MISSING_DOCS,
285285
Allow,
286-
"detects missing documentation for public members"
286+
"detects missing documentation for public members",
287+
report_in_external_macro: true
287288
}
288289

289290
pub struct MissingDoc {

0 commit comments

Comments
 (0)