rust/tests/rustdoc/intra-doc/enum-struct-field.rs
2023-01-11 09:32:08 +00:00

15 lines
196 B
Rust

#![crate_name = "foo"]
pub enum Foo {
X {
y: u8,
}
}
/// Hello
///
/// I want [Foo::X::y].
pub fn foo() {}
// @has foo/fn.foo.html '//a/@href' 'enum.Foo.html#variant.X.field.y'