#[crate_id="reexports"];
pub use foo::{func, Type};
mod foo {
/// Hi
pub struct Type;
/// Hello
pub fn func(x: Type) {}
}
Rustdoc will generate the documentation for func and Type at the top level (i.e. reexports/struct.Type.html and reexports/fn.func.html), but the Type link in the signature of func points to reexports/foo/struct.Type.html, i.e. the non-inlined documentation.