mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
15 lines
196 B
Rust
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'
|