1
Fork 0
rust/src/test/ui/resolve/use_suggestion_placement.stderr

35 lines
1 KiB
Text
Raw Normal View History

2017-08-31 13:06:53 +02:00
error[E0412]: cannot find type `Path` in this scope
--> $DIR/use_suggestion_placement.rs:25:16
|
2017-11-20 13:13:27 +01:00
25 | type Bar = Path; //~ ERROR cannot find
2017-08-31 13:06:53 +02:00
| ^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
21 | use std::path::Path;
2017-08-31 13:06:53 +02:00
|
2017-08-17 11:03:59 +02:00
error[E0425]: cannot find value `A` in this scope
2017-08-31 13:06:53 +02:00
--> $DIR/use_suggestion_placement.rs:30:13
2017-08-17 11:03:59 +02:00
|
2017-11-20 13:13:27 +01:00
30 | let _ = A; //~ ERROR cannot find
2017-08-17 11:03:59 +02:00
| ^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
11 | use m::A;
|
error[E0412]: cannot find type `HashMap` in this scope
2017-08-31 13:06:53 +02:00
--> $DIR/use_suggestion_placement.rs:35:23
2017-08-17 11:03:59 +02:00
|
2017-11-20 13:13:27 +01:00
35 | type Dict<K, V> = HashMap<K, V>; //~ ERROR cannot find
2017-08-17 11:03:59 +02:00
| ^^^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
11 | use std::collections::HashMap;
|
11 | use std::collections::hash_map::HashMap;
|
error: aborting due to 3 previous errors
2017-08-17 11:03:59 +02:00