mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
[rustdoc] Correctly link to (imported) enum variants with "jump to def" New bug I found while working on https://github.com/rust-lang/rust/pull/162808. Explanations: this one was quite tricky as it took me a while to understand that variants could be imported and present in `Cache::external_paths`. So the path was entered while generating a link for "jump to def", generating a URL looking like this: `module/enum_name/variant.variant_name.html`, which is obviously very wrong as it should be `module/enum.enum_name.html#variant.variant_name`. r? @Urgau