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