summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/intra-doc/self-cache.rs
blob: 63bf7fa5768a718992c85318e13a0dc197481b75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![crate_name = "foo"]
// @has foo/enum.E1.html '//a/@href' 'enum.E1.html#variant.A'

/// [Self::A::b]
pub enum E1 {
    A { b: usize }
}

// @has foo/enum.E2.html '//a/@href' 'enum.E2.html#variant.A'

/// [Self::A::b]
pub enum E2 {
    A { b: usize }
}