summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/private-doc-test.rs
blob: a1f9f8dca083ecf7c7eda6a5f3e129133a99d1f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass

#![deny(rustdoc::private_doc_tests)]

mod foo {
    /// private doc test
    ///
    /// ```ignore (used for testing ignored doc tests)
    /// assert!(false);
    /// ```
    fn bar() {}
}