rust/tests/rustdoc/enum-variant-reexport-35488.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
364 B
Rust
Raw Normal View History

2024-01-03 15:56:10 -06:00
// 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;