blob: b86a53305a175fb66c83a60288dc50396e35abd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// check-pass
#![deny(rustdoc::private_doc_tests)]
pub fn foo() {}
mod private {
/// re-exported doc test
///
/// ```
/// assert!(true);
/// ```
pub fn bar() {}
}
pub use private::bar;
|