]> git.proxmox.com Git - rustc.git/blame - src/test/ui/resolve/issue-39226.stderr
New upstream version 1.47.0~beta.2+dfsg1
[rustc.git] / src / test / ui / resolve / issue-39226.stderr
CommitLineData
7cac9316 1error[E0423]: expected value, found struct `Handle`
0731742a 2 --> $DIR/issue-39226.rs:11:17
7cac9316 3 |
e74abb32
XL
4LL | struct Handle {}
5 | ---------------- `Handle` defined here
6...
0531ce1d 7LL | handle: Handle
7cac9316 8 | ^^^^^^
3dfed10e
XL
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 | ^^^^^^
7cac9316 18
041b39d2 19error: aborting due to previous error
7cac9316 20
0531ce1d 21For more information about this error, try `rustc --explain E0423`.