summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/intra-doc/issue-82209.rs
blob: a5fe855cb3681d187feb1440fa9d1667c4ec98d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
#![crate_name = "foo"]
#![deny(rustdoc::broken_intra_doc_links)]
pub enum Foo {
    Bar {
        abc: i32,
        /// [Self::Bar::abc]
        xyz: i32,
    },
}

// @has foo/enum.Foo.html '//a/@href' 'enum.Foo.html#variant.Bar.field.abc'