Minimal example for Rust bug #15823
Re-exported type aliases are not preserved in function signatures
utils
crate contains type aliastype Frequency = u64
sub
crate usesutils
crate and exposesfn cpu_frequency() -> io::Result<Frequency>
facade
crate aggregates all these crates and reexports both type alias and functionrustdoc
fails to useFrequency
type alias for re-exportedcpu_frequency
function
This behavior was tested both with Rust 1.41.0-stable
and 1.43.0-nightly (7760cd0fb 2020-02-19)