]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/wildcard_imports_2021.edition2021.stderr
Merge commit '4f3ab69ea0a0908260944443c739426cc384ae1a' into clippyup
[rust.git] / src / tools / clippy / tests / ui / wildcard_imports_2021.edition2021.stderr
1 error: usage of wildcard import
2   --> $DIR/wildcard_imports_2021.rs:13:5
3    |
4 LL | use crate::fn_mod::*;
5    |     ^^^^^^^^^^^^^^^^ help: try: `crate::fn_mod::foo`
6    |
7    = note: `-D clippy::wildcard-imports` implied by `-D warnings`
8
9 error: usage of wildcard import
10   --> $DIR/wildcard_imports_2021.rs:14:5
11    |
12 LL | use crate::mod_mod::*;
13    |     ^^^^^^^^^^^^^^^^^ help: try: `crate::mod_mod::inner_mod`
14
15 error: usage of wildcard import
16   --> $DIR/wildcard_imports_2021.rs:15:5
17    |
18 LL | use crate::multi_fn_mod::*;
19    |     ^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::multi_fn_mod::{multi_bar, multi_foo, multi_inner_mod}`
20
21 error: usage of wildcard import
22   --> $DIR/wildcard_imports_2021.rs:16:5
23    |
24 LL | use crate::struct_mod::*;
25    |     ^^^^^^^^^^^^^^^^^^^^ help: try: `crate::struct_mod::{A, inner_struct_mod}`
26
27 error: usage of wildcard import
28   --> $DIR/wildcard_imports_2021.rs:19:5
29    |
30 LL | use wildcard_imports_helper::inner::inner_for_self_import::*;
31    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::inner::inner_for_self_import::inner_extern_bar`
32
33 error: usage of wildcard import
34   --> $DIR/wildcard_imports_2021.rs:21:5
35    |
36 LL | use wildcard_imports_helper::*;
37    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternA, extern_foo}`
38
39 error: usage of wildcard import
40   --> $DIR/wildcard_imports_2021.rs:91:13
41    |
42 LL |         use crate::fn_mod::*;
43    |             ^^^^^^^^^^^^^^^^ help: try: `crate::fn_mod::foo`
44
45 error: usage of wildcard import
46   --> $DIR/wildcard_imports_2021.rs:97:75
47    |
48 LL |         use wildcard_imports_helper::inner::inner_for_self_import::{self, *};
49    |                                                                           ^ help: try: `inner_extern_foo`
50
51 error: usage of wildcard import
52   --> $DIR/wildcard_imports_2021.rs:98:13
53    |
54 LL |         use wildcard_imports_helper::*;
55    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternA, extern_foo}`
56
57 error: usage of wildcard import
58   --> $DIR/wildcard_imports_2021.rs:109:20
59    |
60 LL |         use self::{inner::*, inner2::*};
61    |                    ^^^^^^^^ help: try: `inner::inner_foo`
62
63 error: usage of wildcard import
64   --> $DIR/wildcard_imports_2021.rs:109:30
65    |
66 LL |         use self::{inner::*, inner2::*};
67    |                              ^^^^^^^^^ help: try: `inner2::inner_bar`
68
69 error: usage of wildcard import
70   --> $DIR/wildcard_imports_2021.rs:116:13
71    |
72 LL |         use wildcard_imports_helper::*;
73    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternExportedEnum, ExternExportedStruct, extern_exported}`
74
75 error: usage of wildcard import
76   --> $DIR/wildcard_imports_2021.rs:145:9
77    |
78 LL |     use crate::in_fn_test::*;
79    |         ^^^^^^^^^^^^^^^^^^^^ help: try: `crate::in_fn_test::{ExportedEnum, ExportedStruct, exported}`
80
81 error: usage of wildcard import
82   --> $DIR/wildcard_imports_2021.rs:154:9
83    |
84 LL |     use crate:: in_fn_test::  * ;
85    |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate:: in_fn_test::exported`
86
87 error: usage of wildcard import
88   --> $DIR/wildcard_imports_2021.rs:155:9
89    |
90 LL |       use crate:: fn_mod::
91    |  _________^
92 LL | |         *;
93    | |_________^ help: try: `crate:: fn_mod::foo`
94
95 error: usage of wildcard import
96   --> $DIR/wildcard_imports_2021.rs:166:13
97    |
98 LL |         use super::*;
99    |             ^^^^^^^^ help: try: `super::foofoo`
100
101 error: usage of wildcard import
102   --> $DIR/wildcard_imports_2021.rs:201:17
103    |
104 LL |             use super::*;
105    |                 ^^^^^^^^ help: try: `super::insidefoo`
106
107 error: usage of wildcard import
108   --> $DIR/wildcard_imports_2021.rs:209:13
109    |
110 LL |         use crate::super_imports::*;
111    |             ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::super_imports::foofoo`
112
113 error: usage of wildcard import
114   --> $DIR/wildcard_imports_2021.rs:218:17
115    |
116 LL |             use super::super::*;
117    |                 ^^^^^^^^^^^^^^^ help: try: `super::super::foofoo`
118
119 error: usage of wildcard import
120   --> $DIR/wildcard_imports_2021.rs:227:13
121    |
122 LL |         use super::super::super_imports::*;
123    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `super::super::super_imports::foofoo`
124
125 error: usage of wildcard import
126   --> $DIR/wildcard_imports_2021.rs:235:13
127    |
128 LL |         use super::*;
129    |             ^^^^^^^^ help: try: `super::foofoo`
130
131 error: aborting due to 21 previous errors
132