-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding tests for nested and glob use
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// check-pass | ||
|
||
#![deny(unreachable_pub)] | ||
|
||
pub use self::m1::*; | ||
|
||
mod m1 { | ||
pub use self::m2::*; | ||
|
||
mod m2 { | ||
pub struct Item1; | ||
pub struct Item2; | ||
} | ||
} | ||
|
||
|
||
pub use self::o1::{ Item42, Item24 }; | ||
|
||
mod o1 { | ||
pub use self::o2::{ Item42, Item24 }; | ||
|
||
mod o2 { | ||
pub struct Item42; | ||
pub struct Item24; | ||
} | ||
} | ||
|
||
fn main() {} |