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

37 lines
1.1 KiB
Text
Raw Normal View History

2017-08-31 13:06:53 +02:00
error[E0412]: cannot find type `Path` in this scope
2018-12-25 08:56:47 -07:00
--> $DIR/use_suggestion_placement.rs:17:16
2017-08-31 13:06:53 +02:00
|
2019-03-09 15:03:44 +03:00
LL | type Bar = Path;
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
2018-12-25 08:56:47 -07:00
--> $DIR/use_suggestion_placement.rs:22:13
2017-08-17 11:03:59 +02:00
|
2019-03-09 15:03:44 +03:00
LL | let _ = A;
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
2018-12-25 08:56:47 -07:00
--> $DIR/use_suggestion_placement.rs:27:23
2017-08-17 11:03:59 +02:00
|
2019-03-09 15:03:44 +03:00
LL | type Dict<K, V> = HashMap<K, V>;
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
Some errors have detailed explanations: E0412, E0425.
2018-03-03 15:59:40 +01:00
For more information about an error, try `rustc --explain E0412`.