summaryrefslogtreecommitdiffstats
path: root/src/test/ui/imports/unused-imports-in-test-module.stderr
blob: 1598368eb32cc42daedd9ab840db76704de77c2c (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
error: unused import: `std::io::BufRead`
  --> $DIR/unused-imports-in-test-module.rs:3:5
   |
LL | use std::io::BufRead;
   |     ^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/unused-imports-in-test-module.rs:1:9
   |
LL | #![deny(unused_imports)]
   |         ^^^^^^^^^^^^^^

error: unused import: `super::a`
  --> $DIR/unused-imports-in-test-module.rs:9:9
   |
LL |     use super::a;
   |         ^^^^^^^^
   |
help: consider adding a `#[cfg(test)]` to the containing module
  --> $DIR/unused-imports-in-test-module.rs:8:1
   |
LL | mod test {
   | ^^^^^^^^

error: unused import: `super::a`
  --> $DIR/unused-imports-in-test-module.rs:19:9
   |
LL |     use super::a;
   |         ^^^^^^^^
   |
help: consider adding a `#[cfg(test)]` to the containing module
  --> $DIR/unused-imports-in-test-module.rs:18:1
   |
LL | mod tests {
   | ^^^^^^^^^

error: unused import: `super::a`
  --> $DIR/unused-imports-in-test-module.rs:29:9
   |
LL |     use super::a;
   |         ^^^^^^^^
   |
help: consider adding a `#[cfg(test)]` to the containing module
  --> $DIR/unused-imports-in-test-module.rs:28:1
   |
LL | mod test_a {
   | ^^^^^^^^^^

error: unused import: `super::a`
  --> $DIR/unused-imports-in-test-module.rs:39:9
   |
LL |     use super::a;
   |         ^^^^^^^^
   |
help: consider adding a `#[cfg(test)]` to the containing module
  --> $DIR/unused-imports-in-test-module.rs:38:1
   |
LL | mod a_test {
   | ^^^^^^^^^^

error: unused import: `super::a`
  --> $DIR/unused-imports-in-test-module.rs:49:9
   |
LL |     use super::a;
   |         ^^^^^^^^
   |
help: consider adding a `#[cfg(test)]` to the containing module
  --> $DIR/unused-imports-in-test-module.rs:48:1
   |
LL | mod tests_a {
   | ^^^^^^^^^^^

error: unused import: `super::a`
  --> $DIR/unused-imports-in-test-module.rs:59:9
   |
LL |     use super::a;
   |         ^^^^^^^^
   |
help: consider adding a `#[cfg(test)]` to the containing module
  --> $DIR/unused-imports-in-test-module.rs:58:1
   |
LL | mod a_tests {
   | ^^^^^^^^^^^

error: unused import: `super::a`
  --> $DIR/unused-imports-in-test-module.rs:69:9
   |
LL |     use super::a;
   |         ^^^^^^^^

error: aborting due to 8 previous errors