fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
546 B21 linesraw
1error[E0423]: expected value, found struct `Handle`
2  --> $DIR/issue-39226.rs:11:17
3   |
4LL | struct Handle {}
5   | ---------------- `Handle` defined here
6...
7LL |         handle: Handle
8   |                 ^^^^^^
9   |
10help: use struct literal syntax instead
11   |
12LL |         handle: Handle {}
13   |                 ~~~~~~~~~
14help: a local variable with a similar name exists
15   |
16LL |         handle: handle
17   |                 ~~~~~~
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0423`.