fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
483 B19 linesraw
1error[E0429]: `self` imports are only allowed within a { } list
2  --> $DIR/E0429.rs:1:13
3   |
4LL | use std::fmt::self;
5   |             ^^^^^^
6   |
7help: consider importing the module directly
8   |
9LL - use std::fmt::self;
10LL + use std::fmt;
11   |
12help: alternatively, use the multi-path `use` syntax to import `self`
13   |
14LL | use std::fmt::{self};
15   |               +    +
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0429`.