mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-01 23:31:32 +00:00
17 lines
364 B
Rust
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;
|