The self import appears more than once in the list.
Erroneous code example:
#![allow(unused)]
fn main() {
use something::{self, self}; // error: `self` import can only appear once in
// the list
} Please verify you didn't misspell the import name or remove the duplicated self import. Example:
mod something {}
fn main() {
use something::{self}; // ok!
}
© 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/E0430.html