rust/tests/ui/resolve/issue-39226.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
546 B
Plaintext
Raw Normal View History

error[E0423]: expected value, found struct `Handle`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-39226.rs:11:17
|
LL | struct Handle {}
| ---------------- `Handle` defined here
...
2018-02-23 00:42:32 +00:00
LL | handle: Handle
| ^^^^^^
|
help: use struct literal syntax instead
|
LL | handle: Handle {}
| ~~~~~~~~~
help: a local variable with a similar name exists
|
LL | handle: handle
| ~~~~~~
error: aborting due to previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0423`.