2018-11-17 11:34:25 -06:00
|
|
|
mod options {
|
|
|
|
pub struct ParseOptions {}
|
|
|
|
}
|
|
|
|
|
|
|
|
mod parser {
|
|
|
|
pub use options::*;
|
|
|
|
// Private single import shadows public glob import, but arrives too late for initial
|
|
|
|
// resolution of `use parser::ParseOptions` because it depends on that resolution itself.
|
|
|
|
use ParseOptions;
|
|
|
|
}
|
|
|
|
|
2020-01-12 07:20:57 -06:00
|
|
|
pub use parser::ParseOptions; //~ ERROR struct import `ParseOptions` is private
|
2018-11-17 11:34:25 -06:00
|
|
|
|
|
|
|
fn main() {}
|