2022-11-02 10:55:55 -05:00
|
|
|
// This test ensures that the reexports of local items also get the doc from
|
|
|
|
// the reexport.
|
|
|
|
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has 'foo/fn.g.html'
|
|
|
|
//@ has - '//*[@class="toggle top-doc"]/*[@class="docblock"]' \
|
2022-11-02 10:55:55 -05:00
|
|
|
// 'outer module inner module'
|
|
|
|
|
|
|
|
mod inner_mod {
|
|
|
|
/// inner module
|
|
|
|
pub fn g() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
/// outer module
|
|
|
|
pub use inner_mod::g;
|