1 error: import ending with `::{self}`
2 --> $DIR/unnecessary_self_imports.rs:6:1
4 LL | use std::fs::{self as alias};
5 | ^^^^^^^^^--------------------
7 | help: consider omitting `::{self}`: `fs as alias;`
9 = note: `-D clippy::unnecessary-self-imports` implied by `-D warnings`
10 = note: this will slightly change semantics; any non-module items at the same path will also be imported
12 error: import ending with `::{self}`
13 --> $DIR/unnecessary_self_imports.rs:8:1
15 LL | use std::rc::{self};
16 | ^^^^^^^^^-----------
18 | help: consider omitting `::{self}`: `rc;`
20 = note: this will slightly change semantics; any non-module items at the same path will also be imported
22 error: aborting due to 2 previous errors