diff options
| author | dylan_DPC <dylan.dpc@gmail.com> | 2018-08-21 16:29:08 +0530 |
|---|---|---|
| committer | dylan_DPC <dylan.dpc@gmail.com> | 2018-08-21 16:29:08 +0530 |
| commit | 17eb64a8b88849282fb9f8b09452b7f2878ca82d (patch) | |
| tree | eb0abf4994eae01a9b0b6c5508af4af48d6deb8c | |
| parent | b6cbc1e1479d1ac5e66565d3b3e2cc54f767d2a0 (diff) | |
| download | rust-17eb64a8b88849282fb9f8b09452b7f2878ca82d.tar.gz rust-17eb64a8b88849282fb9f8b09452b7f2878ca82d.zip | |
add macro check for lint
| -rw-r--r-- | src/librustc_lint/builtin.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_lint/builtin.rs b/src/librustc_lint/builtin.rs index e6aa7c0d16c..aa010af9758 100644 --- a/src/librustc_lint/builtin.rs +++ b/src/librustc_lint/builtin.rs @@ -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 { |
