1 // This is a regression for https://github.com/rust-lang/rust/issues/96079.
9 // @has 'foo/app/struct.S.html'
10 // @has - '//a[@href="../enums/enum.Foo.html#method.by_name"]' 'Foo::by_name'
12 Doc comment hello! [`Foo::by_name`](`crate::enums::Foo::by_name`).
14 pub fn whatever(&self) {}
24 pub fn by_name(&self) {}