Change:
A page like has many things that could be useful to link to. These should be possible to link to by clicking on: [x] The header [x] 's on a page. [x] at the top On it's hit or miss: [x] Examples [x] Associated Types [x] Required Methods [x] Implementors On [x] Provided Methods I don't have any big use cases but when I want to link to these for something like this bug I can't link to any specific line. I gotta say go to vec page, scroll 75% to bottom. Squint hard to see it.
Just ran into this today; I'd really like to have links from the impls in the Implementors section to the source containing the impl.
Triage: we always need more links....
Update: Headers written in docs and (most) auto-generated headers are either fully hyperlinked or have a "section marker" symbol that shows up on hover. Major auto-generated page headers have links in the top of the sidebar of the page. Impl blocks do not have hyperlinks (yet); that's
Since got merged and closed out , that was the last major request on this issue, so i'll close this out. If you think of something else that needs a hyperlinked header, feel free to open a new issue or reopen this one.

Discussion:
if !types.is_empty() { write!(w, " <del> <h2 id='associated-types'>Associated Types</h2> </del> <ins> <h2 id='associated-types' class='section-header'> <a href='#associated-types'>Associated Types</a> </h2> </ins> <div class='methods'> ")?; for t in &types {

if !consts.is_empty() { write!(w, " <del> <h2 id='associated-const'>Associated Constants</h2> </del> <ins> <h2 id='associated-const' class='section-header'> <a href='#associated-const'>Associated Constants</a> </h2> </ins> <div class='methods'> ")?; for t in &consts {

// Output the documentation for each function individually if !required.is_empty() { write!(w, " <del> <h2 id='required-methods'>Required Methods</h2> </del> <ins> <h2 id='required-methods' class='section-header'> <a href='#required-methods'>Required Methods</a> </h2> </ins> <div class='methods'> ")?; for m in &required {

} if !provided.is_empty() { write!(w, " <del> <h2 id='provided-methods'>Provided Methods</h2> </del> <ins> <h2 id='provided-methods' class='section-header'> <a href='#provided-methods'>Provided Methods</a> </h2> </ins> <div class='methods'> ")?; for m in &provided {

let cache = cache(); write!(w, " <del> <h2 id='implementors'>Implementors</h2> </del> <ins> <h2 id='implementors' class='section-header'> <a href='#implementors'>Implementors</a> </h2> </ins> <ul class='item-list' id='implementors-list'> ")?; if let Some(implementors) = cache.implementors.get(&it.def_id) {

}).peekable(); if let doctree::Plain = s.struct_type { if fields.peek().is_some() { <del> write!(w, "<h2 id='fields' class='fields'>Fields</h2>")?; </del> <ins> write!(w, "<h2 id='fields' class='fields section-header'> <a href='#fields'>Fields</a></h2>")?; </ins> for (field, ty) in fields { let id = derive_id(format!("{}.{}", ItemType::StructField,

} }).peekable(); if fields.peek().is_some() { <del> write!(w, "<h2 id='fields' class='fields'>Fields</h2>")?; </del> <ins> write!(w, "<h2 id='fields' class='fields section-header'> <a href='#fields'>Fields</a></h2>")?; </ins> for (field, ty) in fields { write!(w, "<span id='{shortty}.{name}' class="{shortty}"><code>{name}: {ty}</code> </span>",

document(w, cx, it)?; if !e.variants.is_empty() { <del> write!(w, "<h2 id='variants' class='variants'>Variants</h2>n")?; </del> <ins> write!(w, "<h2 id='variants' class='variants section-header'> <a href='#variants'>Variants</a></h2>n")?; </ins> for variant in &e.variants { let id = derive_id(format!("{}.{}", ItemType::Variant,

if !non_trait.is_empty() { let render_mode = match what { AssocItemRender::All => { <del> write!(w, "<h2 id='methods'>Methods</h2>")?; </del> <ins> write!(w, " <h2 id='methods' class='section-header'> <a href='#methods'>Methods</a> </h2> ")?; </ins> RenderMode::Normal } AssocItemRender::DerefFor { trait_, type_, deref_mut_ } => { <del> write!(w, "<h2 id='deref-methods'>Methods from  {}&lt;Target = {}&gt;</h2>", trait_, type_)?; </del> <ins> write!(w, " <h2 id='deref-methods' class='section-header'> <a href='#deref-methods'>Methods from {}&lt;Target = {}&gt;</a> </h2> ", trait_, type_)?; </ins> RenderMode::ForDeref { mut_: deref_mut_ } } };

}).is_some(); render_deref_methods(w, cx, impl_, containing_item, has_deref_mut)?; } <del> write!(w, "<h2 id='implementations'>Trait  Implementations</h2>")?; </del> <ins> write!(w, " <h2 id='implementations' class='section-header'> <a href='#implementations'>Trait Implementations</a> </h2> ")?; </ins> for i in &traits { let did = i.trait_did().unwrap(); let assoc_link = AssocItemLink::GotoSource(did, &i.inner_impl().provided_trait_methods);