fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
780 B22 linesraw
1error[E0430]: `self` import can only appear once in an import list
2  --> $DIR/E0430.rs:1:16
3   |
4LL | use std::fmt::{self, self};
5   |                ^^^^  ---- another `self` import appears here
6   |                |
7   |                can only appear once in an import list
8
9error[E0252]: the name `fmt` is defined multiple times
10  --> $DIR/E0430.rs:1:22
11   |
12LL | use std::fmt::{self, self};
13   |                ----  ^^^^ `fmt` reimported here
14   |                |
15   |                previous import of the module `fmt` here
16   |
17   = note: `fmt` must be defined only once in the type namespace of this module
18
19error: aborting due to 2 previous errors
20
21Some errors have detailed explanations: E0252, E0430.
22For more information about an error, try `rustc --explain E0252`.