Auto merge of #4967 - JohnTitor:update-test, r=phansch

Rustup to rust-lang/rust#67151

changelog: none
This commit is contained in:
bors 2019-12-29 07:37:03 +00:00
commit c807fbc8ba

View file

@ -94,7 +94,7 @@ impl MissingDoc {
let has_doc = attrs
.iter()
.any(|a| a.check_name(sym!(doc)) && (a.is_value_str() || Self::has_include(a.meta())));
.any(|a| a.is_doc_comment() || a.doc_str().is_some() || a.is_value_str() || Self::has_include(a.meta()));
if !has_doc {
span_lint(
cx,