Closed
Description
A couple examples in Rust's documentation:
serialize::Encodable => Click on Encoder
serialize::Decodable => Click on Decoder
This is a clear example of what kind of crate layout causes this error. Pass it through rustdoc and see for yourself:
pub use internal::{Foo, Bar};
mod internal {
pub trait Foo {}
pub trait Bar<T: Foo> {}
}
The Foo
link in internal::Bar<T: Foo>
will try to point to internal::Foo
, even though the re-export moves the location of the documentation to the crate root.