]>
Commit | Line | Data |
---|---|---|
7cac9316 | 1 | error[E0423]: expected value, found struct `Handle` |
0731742a | 2 | --> $DIR/issue-39226.rs:11:17 |
7cac9316 | 3 | | |
e74abb32 XL |
4 | LL | struct Handle {} |
5 | | ---------------- `Handle` defined here | |
6 | ... | |
0531ce1d | 7 | LL | handle: Handle |
7cac9316 | 8 | | ^^^^^^ |
3dfed10e XL |
9 | | |
10 | help: use struct literal syntax instead | |
11 | | | |
12 | LL | handle: Handle {} | |
13 | | ^^^^^^^^^ | |
14 | help: a local variable with a similar name exists | |
15 | | | |
16 | LL | handle: handle | |
17 | | ^^^^^^ | |
7cac9316 | 18 | |
041b39d2 | 19 | error: aborting due to previous error |
7cac9316 | 20 | |
0531ce1d | 21 | For more information about this error, try `rustc --explain E0423`. |