]> git.proxmox.com Git - rustc.git/blob - src/librustc_error_codes/error_codes/E0430.md
New upstream version 1.47.0+dfsg1
[rustc.git] / src / librustc_error_codes / error_codes / E0430.md
1 The `self` import appears more than once in the list.
2
3 Erroneous code example:
4
5 ```compile_fail,E0430
6 use something::{self, self}; // error: `self` import can only appear once in
7 // the list
8 ```
9
10 Please verify you didn't misspell the import name or remove the duplicated
11 `self` import. Example:
12
13 ```
14 # mod something {}
15 # fn main() {
16 use something::{self}; // ok!
17 # }
18 ```