diff options
| author | dylan_DPC <dylan.dpc@gmail.com> | 2018-08-21 16:29:08 +0530 |
|---|---|---|
| committer | Pietro Albini <pietro@pietroalbini.org> | 2018-08-25 15:29:28 +0200 |
| commit | a4a2fcd38cb64b313b4808681736ebd40dc36f64 (patch) | |
| tree | da7a05d13d20eac94734482a3e7f8702e7f1cfdd /src | |
| parent | 0baa1147512fc18cc5f390881eeecfdc2e5d0af1 (diff) | |
| download | rust-a4a2fcd38cb64b313b4808681736ebd40dc36f64.tar.gz rust-a4a2fcd38cb64b313b4808681736ebd40dc36f64.zip | |
add macro check for lint
Diffstat (limited to 'src')
| -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 561f5fbf5c4..95da9ffe3a5 100644 --- a/src/librustc_lint/builtin.rs +++ b/src/librustc_lint/builtin.rs @@ -284,7 +284,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 { |
