Skip to content

Commit a4a2fcd

Browse files
Dylan-DPCpietroalbini
authored andcommitted
add macro check for lint
1 parent 0baa114 commit a4a2fcd

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
@@ -284,7 +284,8 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnsafeCode {
284284
declare_lint! {
285285
pub MISSING_DOCS,
286286
Allow,
287-
"detects missing documentation for public members"
287+
"detects missing documentation for public members",
288+
report_in_external_macro: true
288289
}
289290

290291
pub struct MissingDoc {

0 commit comments

Comments
 (0)