]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/unused-imports-in-test-module.stderr
Auto merge of #100845 - timvermeulen:iter_compare, r=scottmcm
[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: `super::a`
26   --> $DIR/unused-imports-in-test-module.rs:19:9
27    |
28 LL |     use super::a;
29    |         ^^^^^^^^
30    |
31 help: consider adding a `#[cfg(test)]` to the containing module
32   --> $DIR/unused-imports-in-test-module.rs:18:1
33    |
34 LL | mod tests {
35    | ^^^^^^^^^
36
37 error: unused import: `super::a`
38   --> $DIR/unused-imports-in-test-module.rs:29: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:28:1
45    |
46 LL | mod test_a {
47    | ^^^^^^^^^^
48
49 error: unused import: `super::a`
50   --> $DIR/unused-imports-in-test-module.rs:39:9
51    |
52 LL |     use super::a;
53    |         ^^^^^^^^
54    |
55 help: consider adding a `#[cfg(test)]` to the containing module
56   --> $DIR/unused-imports-in-test-module.rs:38:1
57    |
58 LL | mod a_test {
59    | ^^^^^^^^^^
60
61 error: unused import: `super::a`
62   --> $DIR/unused-imports-in-test-module.rs:49: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:48:1
69    |
70 LL | mod tests_a {
71    | ^^^^^^^^^^^
72
73 error: unused import: `super::a`
74   --> $DIR/unused-imports-in-test-module.rs:59:9
75    |
76 LL |     use super::a;
77    |         ^^^^^^^^
78    |
79 help: consider adding a `#[cfg(test)]` to the containing module
80   --> $DIR/unused-imports-in-test-module.rs:58:1
81    |
82 LL | mod a_tests {
83    | ^^^^^^^^^^^
84
85 error: unused import: `super::a`
86   --> $DIR/unused-imports-in-test-module.rs:69:9
87    |
88 LL |     use super::a;
89    |         ^^^^^^^^
90
91 error: aborting due to 8 previous errors
92