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

37 lines
1.2 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:27:16
2017-08-31 13:06:53 +02:00
|
2018-02-23 03:42:32 +03:00
LL | 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
|
2018-02-25 02:01:39 +03:00
LL | 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
--> $DIR/use_suggestion_placement.rs:32:13
2017-08-17 11:03:59 +02:00
|
2018-02-23 03:42:32 +03:00
LL | 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
|
2018-02-25 02:01:39 +03:00
LL | use m::A;
2017-08-17 11:03:59 +02:00
|
error[E0412]: cannot find type `HashMap` in this scope
--> $DIR/use_suggestion_placement.rs:37:23
2017-08-17 11:03:59 +02:00
|
2018-02-23 03:42:32 +03:00
LL | 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
|
2018-02-25 02:01:39 +03:00
LL | use std::collections::HashMap;
2017-08-17 11:03:59 +02:00
|
2018-02-25 02:01:39 +03:00
LL | use std::collections::hash_map::HashMap;
2017-08-17 11:03:59 +02:00
|
error: aborting due to 3 previous errors
2017-08-17 11:03:59 +02:00
2018-02-19 21:40:25 +01:00
You've got a few errors: E0412, E0425
If you want more information on an error, try using "rustc --explain E0412"