-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
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.
Metadata
Metadata
Assignees
Labels
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.