1
+ error[E0412]: cannot find type `Path` in this scope
2
+ --> $DIR/use_suggestion_placement.rs:25:16
3
+ |
4
+ 25 | type Bar = Path;
5
+ | ^^^^ not found in this scope
6
+ |
7
+ help: possible candidate is found in another module, you can import it into scope
8
+ |
9
+ 20 | #[derive(use std::path::Path;
10
+ |
11
+
1
12
error[E0425]: cannot find value `A` in this scope
2
- --> $DIR/use_suggestion_placement.rs:21 :13
13
+ --> $DIR/use_suggestion_placement.rs:30 :13
3
14
|
4
- 21 | let _ = A;
15
+ 30 | let _ = A;
5
16
| ^ not found in this scope
6
17
|
7
18
help: possible candidate is found in another module, you can import it into scope
@@ -10,9 +21,9 @@ help: possible candidate is found in another module, you can import it into scop
10
21
|
11
22
12
23
error[E0412]: cannot find type `HashMap` in this scope
13
- --> $DIR/use_suggestion_placement.rs:26 :23
24
+ --> $DIR/use_suggestion_placement.rs:35 :23
14
25
|
15
- 26 | type Dict<K, V> = HashMap<K, V>;
26
+ 35 | type Dict<K, V> = HashMap<K, V>;
16
27
| ^^^^^^^ not found in this scope
17
28
|
18
29
help: possible candidates are found in other modules, you can import them into scope
@@ -23,16 +34,16 @@ help: possible candidates are found in other modules, you can import them into s
23
34
|
24
35
25
36
error[E0091]: type parameter `K` is unused
26
- --> $DIR/use_suggestion_placement.rs:26 :15
37
+ --> $DIR/use_suggestion_placement.rs:35 :15
27
38
|
28
- 26 | type Dict<K, V> = HashMap<K, V>;
39
+ 35 | type Dict<K, V> = HashMap<K, V>;
29
40
| ^ unused type parameter
30
41
31
42
error[E0091]: type parameter `V` is unused
32
- --> $DIR/use_suggestion_placement.rs:26 :18
43
+ --> $DIR/use_suggestion_placement.rs:35 :18
33
44
|
34
- 26 | type Dict<K, V> = HashMap<K, V>;
45
+ 35 | type Dict<K, V> = HashMap<K, V>;
35
46
| ^ unused type parameter
36
47
37
- error: aborting due to 4 previous errors
48
+ error: aborting due to 5 previous errors
38
49
0 commit comments