rust/tests/ui/resolve/use_suggestion_placement.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
950 B
Plaintext
Raw Normal View History

2017-08-31 11:06:53 +00:00
error[E0412]: cannot find type `Path` in this scope
--> $DIR/use_suggestion_placement.rs:18:16
2017-08-31 11:06:53 +00:00
|
2019-03-09 12:03:44 +00:00
LL | type Bar = Path;
2017-08-31 11:06:53 +00:00
| ^^^^ not found in this scope
|
help: consider importing this struct
2017-08-31 11:06:53 +00:00
|
2023-03-18 02:18:39 +00:00
LL + use std::path::Path;
2017-08-31 11:06:53 +00:00
|
2017-08-17 09:03:59 +00:00
error[E0425]: cannot find value `A` in this scope
--> $DIR/use_suggestion_placement.rs:23:13
2017-08-17 09:03:59 +00:00
|
2019-03-09 12:03:44 +00:00
LL | let _ = A;
2017-08-17 09:03:59 +00:00
| ^ not found in this scope
|
help: consider importing this constant
2017-08-17 09:03:59 +00:00
|
2023-03-18 02:18:39 +00:00
LL + use m::A;
2017-08-17 09:03:59 +00:00
|
error[E0412]: cannot find type `HashMap` in this scope
--> $DIR/use_suggestion_placement.rs:28:23
2017-08-17 09:03:59 +00:00
|
2019-03-09 12:03:44 +00:00
LL | type Dict<K, V> = HashMap<K, V>;
2017-08-17 09:03:59 +00:00
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
2017-08-17 09:03:59 +00:00
|
2023-03-18 02:18:39 +00:00
LL + use std::collections::HashMap;
2017-08-17 09:03:59 +00:00
|
error: aborting due to 3 previous errors
2017-08-17 09:03:59 +00:00
Some errors have detailed explanations: E0412, E0425.
2018-03-03 14:59:40 +00:00
For more information about an error, try `rustc --explain E0412`.