diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-05-18 21:46:41 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-06-04 08:05:54 -0400 |
| commit | 15fec1fb80b5264d7e2d3382478424abb9afb3d1 (patch) | |
| tree | 791ffbf60606253828e89a8176ef8d0ef0ad35bd /compiler/rustc_lint/src | |
| parent | c4c2ab57a43737867982fafc8cfacd9b069fee96 (diff) | |
Remove `doc(include)`
Diffstat (limited to 'compiler/rustc_lint/src')
| -rw-r--r-- | compiler/rustc_lint/src/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/builtin.rs b/compiler/rustc_lint/src/builtin.rs index e7275374b89..f6a84966f7a 100644 --- a/compiler/rustc_lint/src/builtin.rs +++ b/compiler/rustc_lint/src/builtin.rs @@ -489,7 +489,7 @@ fn has_doc(sess: &Session, attr: &ast::Attribute) -> bool { if let Some(list) = attr.meta_item_list() { for meta in list { - if meta.has_name(sym::include) || meta.has_name(sym::hidden) { + if meta.has_name(sym::hidden) { return true; } } |
