2018-06-08 13:38:10 -05:00
|
|
|
// issue #34843: rustdoc prioritises documenting reexports from the type namespace
|
|
|
|
|
|
|
|
mod inner {
|
|
|
|
pub mod sync {
|
|
|
|
pub struct SomeStruct;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn sync() {}
|
|
|
|
}
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has namespaces/sync/index.html
|
|
|
|
//@ has namespaces/fn.sync.html
|
|
|
|
//@ has namespaces/index.html '//a/@href' 'sync/index.html'
|
|
|
|
//@ has - '//a/@href' 'fn.sync.html'
|
2018-06-08 13:38:10 -05:00
|
|
|
#[doc(inline)]
|
|
|
|
pub use inner::sync;
|