Obviously use super::self would be a bit redundant, but what about if you're importing lots of items from super?
We can already do something like:
use foo::{self, a, b, c};
So why not something like this?
use super::{self, a, b, c};
For reference, the specific error message on nightly is:
error[E0432]: unresolved import `super`
--> ...
|
1 | use super::{self, a, b, c};
| ^^^^ no `super` in the root
Obviously
use super::selfwould be a bit redundant, but what about if you're importing lots of items fromsuper?We can already do something like:
So why not something like this?
For reference, the specific error message on nightly is: