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 21:56:10 +00:00
// https://github.com/rust-lang/rust/issues/35488
#![crate_name="foo"]
mod foo {
pub enum Foo {
Bar,
}
pub use self::Foo::*;
}
2024-01-03 21:56:10 +00:00
// @has 'foo/index.html' '//code' 'pub use self::Foo::*;'
// @has 'foo/enum.Foo.html'
pub use self::foo::*;
2024-01-03 21:56:10 +00:00
// @has 'foo/index.html' '//code' 'pub use std::option::Option::None;'
pub use std::option::Option::None;