fork/rust

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

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

master
342 B18 linesraw
1error: struct literal body without path
2  --> $DIR/nocapture-fail.rs:8:10
3   |
4LL |   fn foo() {
5   |  __________^
6LL | |     Input: 123
7LL | | }
8   | |_^
9   |
10help: you might have forgotten to add the struct literal inside the block
11   |
12LL ~ fn foo() { SomeStruct {
13LL |     Input: 123
14LL ~ } }
15   |
16
17error: aborting due to previous error
18