0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-28 21:12:18 +01:00
rust/tests/rustdoc/enum-variant-reexport-35488.rs
2024-06-24 11:08:41 +02:00

17 lines
364 B
Rust

// 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;