mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
66 lines
1.6 KiB
Plaintext
66 lines
1.6 KiB
Plaintext
error: this file contains an unclosed delimiter
|
|
--> $DIR/brace-in-let-chain.rs:58:54
|
|
|
|
|
LL | fn main() {
|
|
| - unclosed delimiter
|
|
...
|
|
LL | fn quux() {
|
|
| - unclosed delimiter
|
|
...
|
|
LL | fn foobar() {
|
|
| - unclosed delimiter
|
|
...
|
|
LL | fn fubar() {
|
|
| - unclosed delimiter
|
|
...
|
|
LL | fn qux() {
|
|
| - unclosed delimiter
|
|
...
|
|
LL | fn foo() {
|
|
| - unclosed delimiter
|
|
...
|
|
LL | fn bar() {
|
|
| - unclosed delimiter
|
|
...
|
|
LL | fn baz() {
|
|
| - unclosed delimiter
|
|
LL | if false {
|
|
LL | {
|
|
| - this delimiter might not be properly closed...
|
|
LL | && let () = ()
|
|
LL | }
|
|
| - ...as it matches this but it has different indentation
|
|
LL | }
|
|
| ^
|
|
|
|
error: found a `{` in the middle of a let-chain
|
|
--> $DIR/brace-in-let-chain.rs:14:24
|
|
|
|
|
LL | && let () = () {
|
|
| ^
|
|
LL | && let () = ()
|
|
| ------ you might have meant to continue the let-chain here
|
|
|
|
|
help: consider removing this brace to parse the `let` as part of the same chain
|
|
|
|
|
LL - && let () = () {
|
|
LL + && let () = ()
|
|
|
|
|
|
|
error: found a `{` in the middle of a let-chain
|
|
--> $DIR/brace-in-let-chain.rs:6:24
|
|
|
|
|
LL | && let () = () {
|
|
| ^
|
|
LL | && let () = ()
|
|
| ------ you might have meant to continue the let-chain here
|
|
|
|
|
help: consider removing this brace to parse the `let` as part of the same chain
|
|
|
|
|
LL - && let () = () {
|
|
LL + && let () = ()
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|