]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/unused-imports-in-test-module.stderr
Rollup merge of #97317 - GuillaumeGomez:gui-settings-text-click, r=jsha
[rust.git] / src / test / ui / imports / unused-imports-in-test-module.stderr
1 error: unused import: `std::io::BufRead`
2   --> $DIR/unused-imports-in-test-module.rs:3:5
3    |
4 LL | use std::io::BufRead;
5    |     ^^^^^^^^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/unused-imports-in-test-module.rs:1:9
9    |
10 LL | #![deny(unused_imports)]
11    |         ^^^^^^^^^^^^^^
12
13 error: unused import: `super::a`
14   --> $DIR/unused-imports-in-test-module.rs:9:9
15    |
16 LL |     use super::a;
17    |         ^^^^^^^^
18    |
19 help: consider adding a `#[cfg(test)]` to the containing module
20   --> $DIR/unused-imports-in-test-module.rs:8:1
21    |
22 LL | mod test {
23    | ^^^^^^^^
24
25 error: unused import: `crate::b`
26   --> $DIR/unused-imports-in-test-module.rs:12:13
27    |
28 LL |         use crate::b;
29    |             ^^^^^^^^
30    |
31 help: consider adding a `#[cfg(test)]` to the containing module
32   --> $DIR/unused-imports-in-test-module.rs:8:1
33    |
34 LL | mod test {
35    | ^^^^^^^^
36
37 error: unused import: `super::a`
38   --> $DIR/unused-imports-in-test-module.rs:17:9
39    |
40 LL |     use super::a;
41    |         ^^^^^^^^
42    |
43 help: consider adding a `#[cfg(test)]` to the containing module
44   --> $DIR/unused-imports-in-test-module.rs:16:1
45    |
46 LL | mod tests {
47    | ^^^^^^^^^
48
49 error: unused import: `crate::b`
50   --> $DIR/unused-imports-in-test-module.rs:20:13
51    |
52 LL |         use crate::b;
53    |             ^^^^^^^^
54    |
55 help: consider adding a `#[cfg(test)]` to the containing module
56   --> $DIR/unused-imports-in-test-module.rs:16:1
57    |
58 LL | mod tests {
59    | ^^^^^^^^^
60
61 error: unused import: `super::a`
62   --> $DIR/unused-imports-in-test-module.rs:25:9
63    |
64 LL |     use super::a;
65    |         ^^^^^^^^
66    |
67 help: consider adding a `#[cfg(test)]` to the containing module
68   --> $DIR/unused-imports-in-test-module.rs:24:1
69    |
70 LL | mod test_a {
71    | ^^^^^^^^^^
72
73 error: unused import: `crate::b`
74   --> $DIR/unused-imports-in-test-module.rs:28:13
75    |
76 LL |         use crate::b;
77    |             ^^^^^^^^
78    |
79 help: consider adding a `#[cfg(test)]` to the containing module
80   --> $DIR/unused-imports-in-test-module.rs:24:1
81    |
82 LL | mod test_a {
83    | ^^^^^^^^^^
84
85 error: unused import: `super::a`
86   --> $DIR/unused-imports-in-test-module.rs:33:9
87    |
88 LL |     use super::a;
89    |         ^^^^^^^^
90    |
91 help: consider adding a `#[cfg(test)]` to the containing module
92   --> $DIR/unused-imports-in-test-module.rs:32:1
93    |
94 LL | mod a_test {
95    | ^^^^^^^^^^
96
97 error: unused import: `crate::b`
98   --> $DIR/unused-imports-in-test-module.rs:36:13
99    |
100 LL |         use crate::b;
101    |             ^^^^^^^^
102    |
103 help: consider adding a `#[cfg(test)]` to the containing module
104   --> $DIR/unused-imports-in-test-module.rs:32:1
105    |
106 LL | mod a_test {
107    | ^^^^^^^^^^
108
109 error: unused import: `super::a`
110   --> $DIR/unused-imports-in-test-module.rs:41:9
111    |
112 LL |     use super::a;
113    |         ^^^^^^^^
114    |
115 help: consider adding a `#[cfg(test)]` to the containing module
116   --> $DIR/unused-imports-in-test-module.rs:40:1
117    |
118 LL | mod tests_a {
119    | ^^^^^^^^^^^
120
121 error: unused import: `crate::b`
122   --> $DIR/unused-imports-in-test-module.rs:44:13
123    |
124 LL |         use crate::b;
125    |             ^^^^^^^^
126    |
127 help: consider adding a `#[cfg(test)]` to the containing module
128   --> $DIR/unused-imports-in-test-module.rs:40:1
129    |
130 LL | mod tests_a {
131    | ^^^^^^^^^^^
132
133 error: unused import: `super::a`
134   --> $DIR/unused-imports-in-test-module.rs:49:9
135    |
136 LL |     use super::a;
137    |         ^^^^^^^^
138    |
139 help: consider adding a `#[cfg(test)]` to the containing module
140   --> $DIR/unused-imports-in-test-module.rs:48:1
141    |
142 LL | mod a_tests {
143    | ^^^^^^^^^^^
144
145 error: unused import: `crate::b`
146   --> $DIR/unused-imports-in-test-module.rs:52:13
147    |
148 LL |         use crate::b;
149    |             ^^^^^^^^
150    |
151 help: consider adding a `#[cfg(test)]` to the containing module
152   --> $DIR/unused-imports-in-test-module.rs:48:1
153    |
154 LL | mod a_tests {
155    | ^^^^^^^^^^^
156
157 error: unused import: `super::a`
158   --> $DIR/unused-imports-in-test-module.rs:57:9
159    |
160 LL |     use super::a;
161    |         ^^^^^^^^
162
163 error: unused import: `crate::b`
164   --> $DIR/unused-imports-in-test-module.rs:60:13
165    |
166 LL |         use crate::b;
167    |             ^^^^^^^^
168
169 error: aborting due to 15 previous errors
170