Add test case for Self:: links
This commit is contained in:
parent
cc31b992b1
commit
fa64c272c8
|
@ -0,0 +1,14 @@
|
|||
#![crate_name = "foo"]
|
||||
// @has foo/enum.E1.html '//a/@href' '../foo/enum.E1.html#variant.A'
|
||||
|
||||
/// [Self::A::b]
|
||||
pub enum E1 {
|
||||
A { b: usize }
|
||||
}
|
||||
|
||||
// @has foo/enum.E2.html '//a/@href' '../foo/enum.E2.html#variant.A'
|
||||
|
||||
/// [Self::A::b]
|
||||
pub enum E2 {
|
||||
A { b: usize }
|
||||
}
|
Loading…
Reference in New Issue