]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0430.stderr
Rollup merge of #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplett
[rust.git] / src / test / ui / error-codes / E0430.stderr
1 error[E0430]: `self` import can only appear once in an import list
2   --> $DIR/E0430.rs:1:16
3    |
4 LL | use std::fmt::{self, self};
5    |                ^^^^  ---- another `self` import appears here
6    |                |
7    |                can only appear once in an import list
8
9 error[E0252]: the name `fmt` is defined multiple times
10   --> $DIR/E0430.rs:1:22
11    |
12 LL | 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
19 error: aborting due to 2 previous errors
20
21 Some errors have detailed explanations: E0252, E0430.
22 For more information about an error, try `rustc --explain E0252`.