about summary refs log tree commit diff
path: root/tests/rustdoc/reexport/enum-variant-reexport-35488.rs
blob: b8e42ef7a890988ebcb1afaa68239e640250f834 (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;