D does have selective imports, you know!

;-)
Generally, it's a bad idea to use generic imports inside a scope; it's vulnerable to unexpected shadowing:
````
// a.d
module a;
int i;
````
````
// b.d
module b;
void func(int i) {
    import a;
    i++; // modifies a.i, not the parameter i
}
````
So it's best to always use selective imports when using a scoped import.