rust/tests/ui/error-codes/E0429.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
483 B
Plaintext
Raw Normal View History

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
|
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};
| + +
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`.