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 09:56:47 -06:00
--> $DIR/issue-39226.rs:11:17
|
LL | struct Handle {}
| ---------------- `Handle` defined here
...
2018-02-22 18:42:32 -06: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 08:59:40 -06:00
For more information about this error, try `rustc --explain E0423`.