mirror of https://github.com/rust-lang/rust.git
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();
|