fork/rust

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

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

master
1.9 KiB72 linesraw
1error[E0432]: unresolved import `qux::bar`
2  --> $DIR/unresolved-imports-used.rs:10:5
3   |
4LL | use qux::bar;
5   |     ^^^^^^^^ no `bar` in `qux`
6
7error[E0432]: unresolved import `qux::bar2`
8  --> $DIR/unresolved-imports-used.rs:13:5
9   |
10LL | use qux::bar2;
11   |     ^^^^^^^^^ no `bar2` in `qux`
12
13error[E0432]: unresolved import `foo`
14  --> $DIR/unresolved-imports-used.rs:11:5
15   |
16LL | use foo::bar;
17   |     ^^^ maybe a missing crate `foo`?
18   |
19   = help: consider adding `extern crate foo` to use the `foo` crate
20
21error[E0432]: unresolved import `baz`
22  --> $DIR/unresolved-imports-used.rs:12:5
23   |
24LL | use baz::*;
25   |     ^^^ maybe a missing crate `baz`?
26   |
27   = help: consider adding `extern crate baz` to use the `baz` crate
28
29error[E0432]: unresolved import `foo2`
30  --> $DIR/unresolved-imports-used.rs:14:5
31   |
32LL | use foo2::bar2;
33   |     ^^^^ maybe a missing crate `foo2`?
34   |
35   = help: consider adding `extern crate foo2` to use the `foo2` crate
36
37error[E0432]: unresolved import `baz2`
38  --> $DIR/unresolved-imports-used.rs:15:5
39   |
40LL | use baz2::*;
41   |     ^^^^ maybe a missing crate `baz2`?
42   |
43   = help: consider adding `extern crate baz2` to use the `baz2` crate
44
45error[E0603]: function `quz` is private
46  --> $DIR/unresolved-imports-used.rs:9:10
47   |
48LL | use qux::quz;
49   |          ^^^ private function
50   |
51note: the function `quz` is defined here
52  --> $DIR/unresolved-imports-used.rs:5:4
53   |
54LL |    fn quz() {}
55   |    ^^^^^^^^
56
57error: unused import: `qux::quy`
58  --> $DIR/unresolved-imports-used.rs:16:5
59   |
60LL | use qux::quy;
61   |     ^^^^^^^^
62   |
63note: the lint level is defined here
64  --> $DIR/unresolved-imports-used.rs:2:9
65   |
66LL | #![deny(unused_imports)]
67   |         ^^^^^^^^^^^^^^
68
69error: aborting due to 8 previous errors
70
71Some errors have detailed explanations: E0432, E0603.
72For more information about an error, try `rustc --explain E0432`.