]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_error_codes/src/error_codes/E0431.md
Rollup merge of #93556 - dtolnay:trailingcomma, r=cjgillot
[rust.git] / compiler / rustc_error_codes / src / error_codes / E0431.md
1 An invalid `self` import was made.
2
3 Erroneous code example:
4
5 ```compile_fail,E0431
6 use {self}; // error: `self` import can only appear in an import list with a
7             //        non-empty prefix
8 ```
9
10 You cannot import the current module into itself, please remove this import
11 or verify you didn't misspell it.