We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e428799 commit 1683cb1Copy full SHA for 1683cb1
src/librustdoc/passes/doc_test_lints.rs
@@ -53,7 +53,7 @@ impl crate::doctest::Tester for Tests {
53
}
54
55
crate fn should_have_doc_example(cx: &DocContext<'_>, item: &clean::Item) -> bool {
56
- if !cx.renderinfo.access_levels.is_public(item.def_id)
+ if !cx.cache.access_levels.is_public(item.def_id)
57
|| matches!(
58
*item.kind,
59
clean::StructFieldItem(_)
0 commit comments