about summary refs log tree commit diff
path: root/tests/rustdoc/enum-variant-reexport-35488.rs
blob: ed955dcd770ae307e5f28b8575fb7d968985cbee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// https://github.com/rust-lang/rust/issues/35488
#![crate_name="foo"]

mod foo {
    pub enum Foo {
        Bar,
    }
    pub use self::Foo::*;
}

// @has 'foo/index.html' '//code' 'pub use self::Foo::*;'
// @has 'foo/enum.Foo.html'
pub use self::foo::*;

// @has 'foo/index.html' '//code' 'pub use std::option::Option::None;'
pub use std::option::Option::None;