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