The following program compiles on:
- rustc 1.13.0 (2c6933a 2016-11-07)
- rustc 1.14.0-beta.2 (e627a2e 2016-11-16)
but does not compile on:
- rustc 1.15.0-nightly (3bf2be9 2016-11-22)
mod foo {
mod bar {
pub use super::*;
}
}
fn main() {}
Error:
rustc 1.15.0-nightly (3bf2be9ce 2016-11-22)
error: A non-empty glob must import something with the glob's visibility
--> <anon>:3:13
|
3 | pub use super::*;
| ^^^^^^^^^
error: aborting due to previous error
Tested both locally and on https://play.rust-lang.org/.
I could not find any mention of this here or here.