]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/use_suggestion_placement.stderr
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[rust.git] / src / test / ui / resolve / use_suggestion_placement.stderr
1 error[E0412]: cannot find type `Path` in this scope
2   --> $DIR/use_suggestion_placement.rs:17:16
3    |
4 LL |     type Bar = Path;
5    |                ^^^^ not found in this scope
6 help: possible candidate is found in another module, you can import it into scope
7    |
8 LL |     use std::path::Path;
9    |
10
11 error[E0425]: cannot find value `A` in this scope
12   --> $DIR/use_suggestion_placement.rs:22:13
13    |
14 LL |     let _ = A;
15    |             ^ not found in this scope
16 help: possible candidate is found in another module, you can import it into scope
17    |
18 LL | use m::A;
19    |
20
21 error[E0412]: cannot find type `HashMap` in this scope
22   --> $DIR/use_suggestion_placement.rs:27:23
23    |
24 LL |     type Dict<K, V> = HashMap<K, V>;
25    |                       ^^^^^^^ not found in this scope
26 help: possible candidates are found in other modules, you can import them into scope
27    |
28 LL | use std::collections::HashMap;
29    |
30 LL | use std::collections::hash_map::HashMap;
31    |
32
33 error: aborting due to 3 previous errors
34
35 Some errors have detailed explanations: E0412, E0425.
36 For more information about an error, try `rustc --explain E0412`.