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