]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/wildcard_imports.stderr
New upstream version 1.58.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / wildcard_imports.stderr
1 error: usage of wildcard import
2 --> $DIR/wildcard_imports.rs:17: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.rs:18: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.rs:19: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.rs:21: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.rs:25: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.rs:26: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.rs:97: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.rs:103: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.rs:104: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.rs:115: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.rs:115: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.rs:122: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.rs:151: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.rs:160: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.rs:161: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.rs:172:13
97 |
98 LL | use super::*;
99 | ^^^^^^^^ help: try: `super::foofoo`
100
101 error: usage of wildcard import
102 --> $DIR/wildcard_imports.rs:207:17
103 |
104 LL | use super::*;
105 | ^^^^^^^^ help: try: `super::insidefoo`
106
107 error: usage of wildcard import
108 --> $DIR/wildcard_imports.rs:215:13
109 |
110 LL | use super_imports::*;
111 | ^^^^^^^^^^^^^^^^ help: try: `super_imports::foofoo`
112
113 error: usage of wildcard import
114 --> $DIR/wildcard_imports.rs:224:17
115 |
116 LL | use super::super::*;
117 | ^^^^^^^^^^^^^^^ help: try: `super::super::foofoo`
118
119 error: usage of wildcard import
120 --> $DIR/wildcard_imports.rs:233: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.rs:241:13
127 |
128 LL | use super::*;
129 | ^^^^^^^^ help: try: `super::foofoo`
130
131 error: aborting due to 21 previous errors
132