2023-11-10 02:46:45 +00:00
|
|
|
error: this file contains an unclosed delimiter
|
2023-11-10 20:13:53 +00:00
|
|
|
--> $DIR/brace-in-let-chain.rs:58:54
|
2023-11-10 02:46:45 +00:00
|
|
|
|
|
|
|
|
LL | fn main() {
|
|
|
|
| - unclosed delimiter
|
|
|
|
...
|
2023-11-10 20:13:53 +00:00
|
|
|
LL | fn quux() {
|
|
|
|
| - unclosed delimiter
|
|
|
|
...
|
|
|
|
LL | fn foobar() {
|
|
|
|
| - unclosed delimiter
|
|
|
|
...
|
|
|
|
LL | fn fubar() {
|
|
|
|
| - unclosed delimiter
|
|
|
|
...
|
2023-11-10 04:04:55 +00:00
|
|
|
LL | fn qux() {
|
|
|
|
| - unclosed delimiter
|
|
|
|
...
|
2023-11-10 02:46:45 +00:00
|
|
|
LL | fn foo() {
|
2024-07-19 06:58:16 +00:00
|
|
|
| - another 3 unclosed delimiters begin from here
|
2023-11-10 02:46:45 +00:00
|
|
|
...
|
|
|
|
LL | {
|
|
|
|
| - this delimiter might not be properly closed...
|
|
|
|
LL | && let () = ()
|
|
|
|
LL | }
|
|
|
|
| - ...as it matches this but it has different indentation
|
|
|
|
LL | }
|
2024-07-09 17:00:19 +00:00
|
|
|
| ^
|
2023-11-10 02:46:45 +00:00
|
|
|
|
2023-11-10 20:13:53 +00:00
|
|
|
error: found a `{` in the middle of a let-chain
|
|
|
|
--> $DIR/brace-in-let-chain.rs:14:24
|
|
|
|
|
|
|
|
|
LL | && let () = () {
|
|
|
|
| ^
|
|
|
|
LL | && let () = ()
|
2023-11-11 21:39:08 +00:00
|
|
|
| ------ you might have meant to continue the let-chain here
|
|
|
|
|
|
2023-11-10 20:13:53 +00:00
|
|
|
help: consider removing this brace to parse the `let` as part of the same chain
|
|
|
|
|
|
|
|
|
LL - && let () = () {
|
|
|
|
LL + && let () = ()
|
|
|
|
|
|
|
|
|
|
2023-11-10 02:46:45 +00:00
|
|
|
error: found a `{` in the middle of a let-chain
|
|
|
|
--> $DIR/brace-in-let-chain.rs:6:24
|
|
|
|
|
|
|
|
|
LL | && let () = () {
|
|
|
|
| ^
|
|
|
|
LL | && let () = ()
|
2023-11-11 21:39:08 +00:00
|
|
|
| ------ you might have meant to continue the let-chain here
|
|
|
|
|
|
2023-11-10 02:46:45 +00:00
|
|
|
help: consider removing this brace to parse the `let` as part of the same chain
|
|
|
|
|
|
|
|
|
LL - && let () = () {
|
|
|
|
LL + && let () = ()
|
|
|
|
|
|
|
|
|
|
2023-11-10 20:13:53 +00:00
|
|
|
error: aborting due to 3 previous errors
|
2023-11-10 02:46:45 +00:00
|
|
|
|