2021-02-27 01:08:05 +01:00
|
|
|
#![crate_name = "foo"]
|
2021-11-26 15:03:16 -08:00
|
|
|
#![deny(rustdoc::broken_intra_doc_links)]
|
2021-02-26 22:09:39 +01:00
|
|
|
pub enum Foo {
|
|
|
|
Bar {
|
|
|
|
abc: i32,
|
|
|
|
/// [Self::Bar::abc]
|
|
|
|
xyz: i32,
|
|
|
|
},
|
|
|
|
}
|
2021-02-27 01:08:05 +01:00
|
|
|
|
2021-03-17 11:41:01 -07:00
|
|
|
// @has foo/enum.Foo.html '//a/@href' 'enum.Foo.html#variant.Bar.field.abc'
|