error[E0429]: `self` imports are only allowed within a { } list --> $DIR/E0429.rs:11:5 | LL | use std::fmt::self; //~ ERROR E0429 | ^^^^^^^^^^^^^^ error: aborting due to previous error For more information about this error, try `rustc --explain E0429`.