]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0430.stderr
Revert "rustc: Fix (again) simd vectors by-val in ABI"
[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:11:16
3    |
4 LL | use std::fmt::{self, self}; //~ ERROR E0430
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:11:22
11    |
12 LL | use std::fmt::{self, self}; //~ ERROR E0430
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 help: You can use `as` to change the binding name of the import
19    |
20 LL | use std::fmt::{self, self as other_fmt}; //~ ERROR E0430
21    |                      ^^^^^^^^^^^^^^^^^
22
23 error: aborting due to 2 previous errors
24
25 Some errors occurred: E0252, E0430.
26 For more information about an error, try `rustc --explain E0252`.