summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/wildcard_imports.stderr
blob: 6b469cdfc444926355f72b614ca0787658a95aae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:15:5
   |
LL | use crate::fn_mod::*;
   |     ^^^^^^^^^^^^^^^^ help: try: `crate::fn_mod::foo`
   |
   = note: `-D clippy::wildcard-imports` implied by `-D warnings`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:16:5
   |
LL | use crate::mod_mod::*;
   |     ^^^^^^^^^^^^^^^^^ help: try: `crate::mod_mod::inner_mod`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:17:5
   |
LL | use crate::multi_fn_mod::*;
   |     ^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::multi_fn_mod::{multi_bar, multi_foo, multi_inner_mod}`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:19:5
   |
LL | use crate::struct_mod::*;
   |     ^^^^^^^^^^^^^^^^^^^^ help: try: `crate::struct_mod::{A, inner_struct_mod}`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:23:5
   |
LL | use wildcard_imports_helper::inner::inner_for_self_import::*;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::inner::inner_for_self_import::inner_extern_bar`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:24:5
   |
LL | use wildcard_imports_helper::*;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternA, extern_foo}`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:95:13
   |
LL |         use crate::fn_mod::*;
   |             ^^^^^^^^^^^^^^^^ help: try: `crate::fn_mod::foo`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:101:75
   |
LL |         use wildcard_imports_helper::inner::inner_for_self_import::{self, *};
   |                                                                           ^ help: try: `inner_extern_foo`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:102:13
   |
LL |         use wildcard_imports_helper::*;
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternA, extern_foo}`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:113:20
   |
LL |         use self::{inner::*, inner2::*};
   |                    ^^^^^^^^ help: try: `inner::inner_foo`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:113:30
   |
LL |         use self::{inner::*, inner2::*};
   |                              ^^^^^^^^^ help: try: `inner2::inner_bar`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:120:13
   |
LL |         use wildcard_imports_helper::*;
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternExportedEnum, ExternExportedStruct, extern_exported}`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:149:9
   |
LL |     use crate::in_fn_test::*;
   |         ^^^^^^^^^^^^^^^^^^^^ help: try: `crate::in_fn_test::{ExportedEnum, ExportedStruct, exported}`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:158:9
   |
LL |     use crate:: in_fn_test::  * ;
   |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate:: in_fn_test::exported`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:159:9
   |
LL |       use crate:: fn_mod::
   |  _________^
LL | |         *;
   | |_________^ help: try: `crate:: fn_mod::foo`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:170:13
   |
LL |         use super::*;
   |             ^^^^^^^^ help: try: `super::foofoo`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:205:17
   |
LL |             use super::*;
   |                 ^^^^^^^^ help: try: `super::insidefoo`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:213:13
   |
LL |         use super_imports::*;
   |             ^^^^^^^^^^^^^^^^ help: try: `super_imports::foofoo`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:222:17
   |
LL |             use super::super::*;
   |                 ^^^^^^^^^^^^^^^ help: try: `super::super::foofoo`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:231:13
   |
LL |         use super::super::super_imports::*;
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `super::super::super_imports::foofoo`

error: usage of wildcard import
  --> $DIR/wildcard_imports.rs:239:13
   |
LL |         use super::*;
   |             ^^^^^^^^ help: try: `super::foofoo`

error: aborting due to 21 previous errors