2018-09-14 05:20:28 -05:00
|
|
|
#![allow(unused_imports)]
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2014-12-30 22:29:22 -06:00
|
|
|
pub use foo::bar::{self, First};
|
2014-07-17 17:56:56 -05:00
|
|
|
use self::bar::Second;
|
|
|
|
|
|
|
|
mod foo {
|
2014-12-30 22:29:22 -06:00
|
|
|
pub use self::bar::baz::{self};
|
2014-07-17 17:56:56 -05:00
|
|
|
|
|
|
|
pub mod bar {
|
|
|
|
pub mod baz {
|
|
|
|
pub struct Fourth;
|
|
|
|
}
|
|
|
|
pub struct First;
|
|
|
|
pub struct Second;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub struct Third;
|
|
|
|
}
|
|
|
|
|
|
|
|
mod baz {
|
2015-01-03 21:42:37 -06:00
|
|
|
use super::foo::{bar, self};
|
2014-07-17 17:56:56 -05:00
|
|
|
pub use foo::Third;
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let _ = First;
|
|
|
|
let _ = Second;
|
|
|
|
let _ = baz::Third;
|
|
|
|
let _ = foo::baz::Fourth;
|
|
|
|
}
|