]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/private-doc-test.rs
Auto merge of #107644 - Zoxc:query-cache-tweak, r=cjgillot
[rust.git] / tests / rustdoc-ui / private-doc-test.rs
1 // check-pass
2
3 #![deny(rustdoc::private_doc_tests)]
4
5 mod foo {
6     /// private doc test
7     ///
8     /// ```ignore (used for testing ignored doc tests)
9     /// assert!(false);
10     /// ```
11     fn bar() {}
12 }