fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
1.1 KiB39 linesraw
1error[E0412]: cannot find type `Path` in this scope
2  --> $DIR/use_suggestion_placement.rs:17:16
3   |
4LL |     type Bar = Path;
5   |                ^^^^ not found in this scope
6   |
7help: possible candidate is found in another module, you can import it into scope
8   |
9LL |     use std::path::Path;
10   |
11
12error[E0425]: cannot find value `A` in this scope
13  --> $DIR/use_suggestion_placement.rs:22:13
14   |
15LL |     let _ = A;
16   |             ^ not found in this scope
17   |
18help: possible candidate is found in another module, you can import it into scope
19   |
20LL | use m::A;
21   |
22
23error[E0412]: cannot find type `HashMap` in this scope
24  --> $DIR/use_suggestion_placement.rs:27:23
25   |
26LL |     type Dict<K, V> = HashMap<K, V>;
27   |                       ^^^^^^^ not found in this scope
28   |
29help: possible candidates are found in other modules, you can import them into scope
30   |
31LL | use std::collections::HashMap;
32   |
33LL | use std::collections::hash_map::HashMap;
34   |
35
36error: aborting due to 3 previous errors
37
38Some errors have detailed explanations: E0412, E0425.
39For more information about an error, try `rustc --explain E0412`.