14 lines
320 B
Rust
14 lines
320 B
Rust
// This test ensures that reexported enum variants correctly link to the original variant.
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
pub enum Foo {
|
|
S {
|
|
x: u32,
|
|
},
|
|
}
|
|
|
|
//@ has 'foo/index.html'
|
|
|
|
//@ has - '//*[@class="item-table reexports"]/*[@id="reexport.S"]//a[@href="enum.Foo.html#variant.S"]' 'S'
|
|
pub use self::Foo::S;
|