rust/tests/rustdoc/intra-doc/enum-struct-field.rs

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

15 lines
196 B
Rust
Raw Permalink Normal View History

#![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'