mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
13 lines
270 B
Rust
13 lines
270 B
Rust
// https://github.com/rust-lang/rust/issues/118180
|
|
#![crate_name="foo"]
|
|
|
|
//@ has foo/enum.Enum.html
|
|
pub enum Enum {
|
|
//@ has - '//*[@id="variant.Empty"]//h3' 'Empty()'
|
|
Empty(),
|
|
}
|
|
|
|
//@ has foo/struct.Empty.html
|
|
//@ has - '//pre/code' 'Empty()'
|
|
pub struct Empty();
|