2018-02-07 21:35:35 -06:00
|
|
|
error[E0429]: `self` imports are only allowed within a { } list
|
2020-05-03 11:54:21 -05:00
|
|
|
--> $DIR/E0429.rs:1:13
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | use std::fmt::self;
|
2020-05-03 11:54:21 -05:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
2020-05-19 15:12:41 -05:00
|
|
|
help: consider importing the module directly
|
2020-05-03 11:54:21 -05:00
|
|
|
|
|
2021-06-21 21:07:19 -05:00
|
|
|
LL - use std::fmt::self;
|
|
|
|
LL + use std::fmt;
|
2022-06-08 12:34:57 -05:00
|
|
|
|
|
2020-05-19 15:12:41 -05:00
|
|
|
help: alternatively, use the multi-path `use` syntax to import `self`
|
2020-05-03 11:54:21 -05:00
|
|
|
|
|
|
|
|
LL | use std::fmt::{self};
|
2021-06-21 21:07:19 -05:00
|
|
|
| + +
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0429`.
|