#![crate_name = "foo"] //@ has foo/struct.SomeStruct.html '//*[@class="sidebar-elems"]//section//li/a[@href="#method.some_fn-1"]' \ // "some_fn" pub struct SomeStruct { _inner: T } impl SomeStruct<()> { pub fn some_fn(&self) {} } impl SomeStruct { pub fn some_fn(&self) {} }