2017-04-18 11:28:05 +00:00
|
|
|
error[E0423]: expected value, found struct `Handle`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-39226.rs:11:17
|
2017-04-18 11:28:05 +00:00
|
|
|
|
|
2019-09-22 18:27:55 +00:00
|
|
|
LL | struct Handle {}
|
|
|
|
| ---------------- `Handle` defined here
|
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | handle: Handle
|
2017-04-18 11:28:05 +00:00
|
|
|
| ^^^^^^
|
2020-07-10 00:42:07 +00:00
|
|
|
|
|
|
|
|
help: use struct literal syntax instead
|
|
|
|
|
|
|
|
|
LL | handle: Handle {}
|
2021-06-22 02:07:19 +00:00
|
|
|
| ~~~~~~~~~
|
2020-08-10 03:29:39 +00:00
|
|
|
help: a local variable with a similar name exists
|
|
|
|
|
|
|
|
|
LL | handle: handle
|
2021-06-22 02:07:19 +00:00
|
|
|
| ~~~~~~
|
2017-04-18 11:28:05 +00:00
|
|
|
|
2017-07-02 10:49:30 +00:00
|
|
|
error: aborting due to previous error
|
2017-04-18 11:28:05 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0423`.
|