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