blob: 1cd2a5fb2216e1440a1ebba98b3b9491553e6e43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
error[E0423]: expected value, found struct `Handle`
--> $DIR/issue-39226.rs:11:17
|
LL | struct Handle {}
| ---------------- `Handle` defined here
...
LL | handle: Handle
| ^^^^^^
|
help: use struct literal syntax instead
|
LL | handle: Handle {}
| ++
help: a local variable with a similar name exists
|
LL - handle: Handle
LL + handle: handle
|
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0423`.
|