The following does not compile.
mod foo {
use *;
pub fn meow(){bar()}
}
pub fn bar(){}
fn main(){foo::meow()}
Also tried use ::*; use {*}; and use ::{*};.
I'm not sure why we don't support this case. Maybe nobody felt anyone would ever use it? It sure would be nice to have in winapi.
The following does not compile.
Also tried
use ::*;use {*};anduse ::{*};.I'm not sure why we don't support this case. Maybe nobody felt anyone would ever use it? It sure would be nice to have in winapi.