An invalid self import was made.
Erroneous code example:
#![allow(unused)]
fn main() {
use {self}; // error: `self` import can only appear in an import list with a
// non-empty prefix
} You cannot import the current module into itself, please remove this import or verify you didn't misspell it.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0431.html