fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
488 B15 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   |                 |
10   |                 did you mean `Handle { /* fields */ }`?
11   |                 help: a local variable with a similar name exists: `handle`
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0423`.