]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/public-reexported-item-doc-test.rs
Merge commit '7d53619064ab7045c383644cb445052d2a3d46db' into sync_cg_clif-2023-02-09
[rust.git] / tests / rustdoc-ui / public-reexported-item-doc-test.rs
1 // check-pass
2
3 #![deny(rustdoc::private_doc_tests)]
4
5 pub fn foo() {}
6
7 mod private {
8     /// re-exported doc test
9     ///
10     /// ```
11     /// assert!(true);
12     /// ```
13     pub fn bar() {}
14 }
15
16 pub use private::bar;