blob: 5dc857773a393ebf1fb883b674a628132269cb2b [file] [log] [blame]
// This test ensures that the reexports of local items also get the doc from
// the reexport.
#![crate_name = "foo"]
// @has 'foo/fn.g.html'
// @has - '//*[@class="toggle top-doc"]/*[@class="docblock"]' \
// 'outer module inner module'
mod inner_mod {
/// inner module
pub fn g() {}
}
/// outer module
pub use inner_mod::g;