Alter wording for use foo::self help
This commit is contained in:
parent
d190e10f74
commit
aaeea7ffc3
6 changed files with 14 additions and 14 deletions
|
|
@ -4,11 +4,11 @@ error[E0429]: `self` imports are only allowed within a { } list
|
|||
LL | use std::fmt::self;
|
||||
| ^^^^^^
|
||||
|
|
||||
help: Remove `::self`..
|
||||
help: consider importing the module directly
|
||||
|
|
||||
LL | use std::fmt;
|
||||
| --
|
||||
help: ..or add braces around `self`
|
||||
help: alternatively, use the multi-path `use` syntax to import `self`
|
||||
|
|
||||
LL | use std::fmt::{self};
|
||||
| ^ ^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue