]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/unnecessary_self_imports.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / unnecessary_self_imports.stderr
CommitLineData
cdc7bbd5
XL
1error: import ending with `::{self}`
2 --> $DIR/unnecessary_self_imports.rs:6:1
3 |
4LL | use std::fs::{self as alias};
5 | ^^^^^^^^^--------------------
6 | |
7 | help: consider omitting `::{self}`: `fs as alias;`
8 |
cdc7bbd5 9 = note: this will slightly change semantics; any non-module items at the same path will also be imported
2b03887a 10 = note: `-D clippy::unnecessary-self-imports` implied by `-D warnings`
cdc7bbd5
XL
11
12error: import ending with `::{self}`
13 --> $DIR/unnecessary_self_imports.rs:8:1
14 |
15LL | use std::rc::{self};
16 | ^^^^^^^^^-----------
17 | |
18 | help: consider omitting `::{self}`: `rc;`
19 |
20 = note: this will slightly change semantics; any non-module items at the same path will also be imported
21
22error: aborting due to 2 previous errors
23