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.
|
2023-05-08 18:15:46 -05:00
|
|
|
#[allow(hidden_glob_reexports)]
|
2018-11-17 11:34:25 -06:00
|
|
|
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() {}
|