]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui-toml/missing_enforced_import_rename/conf_missing_enforced_import_rename.stderr
Merge commit 'c19edfd71a1d0ddef86c2c67fdb40718d40a72b4' into sync_cg_clif-2022-07-25
[rust.git] / src / tools / clippy / tests / ui-toml / missing_enforced_import_rename / conf_missing_enforced_import_rename.stderr
1 error: this import should be renamed
2   --> $DIR/conf_missing_enforced_import_rename.rs:5:20
3    |
4 LL | use std::process::{exit as wrong_exit, Child as Kid};
5    |                    ^^^^^^^^^^^^^^^^^^ help: try: `exit as goodbye`
6    |
7    = note: `-D clippy::missing-enforced-import-renames` implied by `-D warnings`
8
9 error: this import should be renamed
10   --> $DIR/conf_missing_enforced_import_rename.rs:6:1
11    |
12 LL | use std::thread::sleep;
13    | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `use std::thread::sleep as thread_sleep`
14
15 error: this import should be renamed
16   --> $DIR/conf_missing_enforced_import_rename.rs:9:11
17    |
18 LL |     any::{type_name, Any},
19    |           ^^^^^^^^^ help: try: `type_name as ident`
20
21 error: this import should be renamed
22   --> $DIR/conf_missing_enforced_import_rename.rs:10:5
23    |
24 LL |     clone,
25    |     ^^^^^ help: try: `clone as foo`
26
27 error: this import should be renamed
28   --> $DIR/conf_missing_enforced_import_rename.rs:11:5
29    |
30 LL |     sync :: Mutex,
31    |     ^^^^^^^^^^^^^ help: try: `sync :: Mutex as StdMutie`
32
33 error: this import should be renamed
34   --> $DIR/conf_missing_enforced_import_rename.rs:15:5
35    |
36 LL |     use std::collections::BTreeMap as OopsWrongRename;
37    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `use std::collections::BTreeMap as Map`
38
39 error: aborting due to 6 previous errors
40