fork/rust

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

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

master
1.4 KiB50 linesraw
1error[E0432]: unresolved import `foo`
2  --> $DIR/unresolved-import.rs:1:5
3   |
4LL | use foo::bar;
5   |     ^^^ maybe a missing crate `foo`?
6   |
7   = help: consider adding `extern crate foo` to use the `foo` crate
8
9error[E0432]: unresolved import `bar::Baz`
10  --> $DIR/unresolved-import.rs:5:5
11   |
12LL | use bar::Baz as x;
13   |     ^^^^^---^^^^^
14   |     |    |
15   |     |    help: a similar name exists in the module: `Bar`
16   |     no `Baz` in `bar`
17
18error[E0432]: unresolved import `food::baz`
19  --> $DIR/unresolved-import.rs:10:5
20   |
21LL | use food::baz;
22   |     ^^^^^^---
23   |     |     |
24   |     |     help: a similar name exists in the module: `bag`
25   |     no `baz` in `food`
26
27error[E0432]: unresolved import `food::beens`
28  --> $DIR/unresolved-import.rs:15:12
29   |
30LL | use food::{beens as Foo};
31   |            -----^^^^^^^
32   |            |
33   |            no `beens` in `food`
34   |            help: a similar name exists in the module: `beans`
35
36error[E0432]: unresolved import `MyEnum`
37  --> $DIR/unresolved-import.rs:39:9
38   |
39LL |     use MyEnum::*;
40   |         ^^^^^^ help: a similar path exists: `self::MyEnum`
41
42error[E0432]: unresolved import `Enum`
43  --> $DIR/unresolved-import.rs:49:9
44   |
45LL |     use Enum::*;
46   |         ^^^^ help: a similar path exists: `self::Enum`
47
48error: aborting due to 6 previous errors
49
50For more information about this error, try `rustc --explain E0432`.