]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/intra-links-anchors.rs
Rollup merge of #69722 - estebank:negative-impl-span-ast, r=Centril
[rust.git] / src / test / rustdoc / intra-links-anchors.rs
1 /// I want...
2 ///
3 /// # Anchor!
4 pub struct Something;
5
6 // @has intra_links_anchors/struct.SomeOtherType.html
7 // @has - '//a/@href' '../intra_links_anchors/struct.Something.html#Anchor!'
8
9 /// I want...
10 ///
11 /// To link to [Something#Anchor!]
12 pub struct SomeOtherType;