fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
2.2 KiB92 linesraw
1error: unused import: `std::io::BufRead`
2  --> $DIR/unused-imports-in-test-module.rs:3:5
3   |
4LL | use std::io::BufRead;
5   |     ^^^^^^^^^^^^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/unused-imports-in-test-module.rs:1:9
9   |
10LL | #![deny(unused_imports)]
11   |         ^^^^^^^^^^^^^^
12
13error: unused import: `super::a`
14  --> $DIR/unused-imports-in-test-module.rs:9:9
15   |
16LL |     use super::a;
17   |         ^^^^^^^^
18   |
19help: consider adding a `#[cfg(test)]` to the containing module
20  --> $DIR/unused-imports-in-test-module.rs:8:1
21   |
22LL | mod test {
23   | ^^^^^^^^
24
25error: unused import: `super::a`
26  --> $DIR/unused-imports-in-test-module.rs:19:9
27   |
28LL |     use super::a;
29   |         ^^^^^^^^
30   |
31help: consider adding a `#[cfg(test)]` to the containing module
32  --> $DIR/unused-imports-in-test-module.rs:18:1
33   |
34LL | mod tests {
35   | ^^^^^^^^^
36
37error: unused import: `super::a`
38  --> $DIR/unused-imports-in-test-module.rs:29:9
39   |
40LL |     use super::a;
41   |         ^^^^^^^^
42   |
43help: consider adding a `#[cfg(test)]` to the containing module
44  --> $DIR/unused-imports-in-test-module.rs:28:1
45   |
46LL | mod test_a {
47   | ^^^^^^^^^^
48
49error: unused import: `super::a`
50  --> $DIR/unused-imports-in-test-module.rs:39:9
51   |
52LL |     use super::a;
53   |         ^^^^^^^^
54   |
55help: consider adding a `#[cfg(test)]` to the containing module
56  --> $DIR/unused-imports-in-test-module.rs:38:1
57   |
58LL | mod a_test {
59   | ^^^^^^^^^^
60
61error: unused import: `super::a`
62  --> $DIR/unused-imports-in-test-module.rs:49:9
63   |
64LL |     use super::a;
65   |         ^^^^^^^^
66   |
67help: consider adding a `#[cfg(test)]` to the containing module
68  --> $DIR/unused-imports-in-test-module.rs:48:1
69   |
70LL | mod tests_a {
71   | ^^^^^^^^^^^
72
73error: unused import: `super::a`
74  --> $DIR/unused-imports-in-test-module.rs:59:9
75   |
76LL |     use super::a;
77   |         ^^^^^^^^
78   |
79help: consider adding a `#[cfg(test)]` to the containing module
80  --> $DIR/unused-imports-in-test-module.rs:58:1
81   |
82LL | mod a_tests {
83   | ^^^^^^^^^^^
84
85error: unused import: `super::a`
86  --> $DIR/unused-imports-in-test-module.rs:69:9
87   |
88LL |     use super::a;
89   |         ^^^^^^^^
90
91error: aborting due to 8 previous errors
92