fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: struct literals are not allowed here 2 --> $DIR/struct-literal-in-while.rs:12:11 3 | 4LL | while Foo { 5 | ___________^ 6LL | | x: 3 7LL | | }.hi() { 8 | |_____^ 9help: surround the struct literal with parentheses 10 | 11LL | while (Foo { 12LL | x: 3 13LL | }).hi() { 14 | 15 16error: aborting due to previous error 17