rustdoc creates bad links on pub use
of enum variants
#12289
Labels
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
The std prelude contains
pub use option::{Option, Some, None}
.rustdoc turns the prelude into http://static.rust-lang.org/doc/master/std/prelude/index.html. In the process, it makes a mess of
pub use
'd enum variants such asSome
andNone
, turning them into bad links like http://static.rust-lang.org/doc/master/std/option/Option/variant.Some.html. You see, rustdoc doesn't produce pages for enum variants—it only produces pages for the containing enum. TheEnum/variant.Variant.html
needs to be changed toenum.Enum.html
. No need for a hash.The text was updated successfully, but these errors were encountered: