Auto merge of #4967 - JohnTitor:update-test, r=phansch
Rustup to rust-lang/rust#67151 changelog: none
This commit is contained in:
commit
c807fbc8ba
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user