fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

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