rust/tests/rustdoc/intra-doc/self-cache.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
254 B
Rust
Raw Normal View History

2020-11-30 16:17:11 -06:00
#![crate_name = "foo"]
//@ has foo/enum.E1.html '//a/@href' 'enum.E1.html#variant.A'
2020-11-30 16:17:11 -06:00
/// [Self::A::b]
pub enum E1 {
A { b: usize }
}
//@ has foo/enum.E2.html '//a/@href' 'enum.E2.html#variant.A'
2020-11-30 16:17:11 -06:00
/// [Self::A::b]
pub enum E2 {
A { b: usize }
}