]> git.proxmox.com Git - rustc.git/blame - tests/ui/resolve/use_suggestion.stderr
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / resolve / use_suggestion.stderr
CommitLineData
1b1a35ee 1error[E0433]: failed to resolve: use of undeclared type `HashMap`
f035d41b
XL
2 --> $DIR/use_suggestion.rs:2:14
3 |
4LL | let x1 = HashMap::new();
487cf647 5 | ^^^^^^^ use of undeclared type `HashMap`
f035d41b
XL
6 |
7help: consider importing this struct
8 |
353b0b11 9LL + use std::collections::HashMap;
f035d41b
XL
10 |
11
12error[E0412]: cannot find type `HashMap` in this scope
13 --> $DIR/use_suggestion.rs:5:13
14 |
15LL | let y1: HashMap;
16 | ^^^^^^^ not found in this scope
17 |
18help: consider importing this struct
19 |
353b0b11 20LL + use std::collections::HashMap;
f035d41b
XL
21 |
22
23error[E0412]: cannot find type `GooMap` in this scope
24 --> $DIR/use_suggestion.rs:6:13
25 |
26LL | let y2: GooMap;
27 | ^^^^^^ not found in this scope
28
487cf647
FG
29error[E0433]: failed to resolve: use of undeclared type `GooMap`
30 --> $DIR/use_suggestion.rs:3:14
31 |
32LL | let x2 = GooMap::new();
33 | ^^^^^^ use of undeclared type `GooMap`
34
f035d41b
XL
35error: aborting due to 4 previous errors
36
37Some errors have detailed explanations: E0412, E0433.
38For more information about an error, try `rustc --explain E0412`.