2024-07-19 01:55:27 -05:00
|
|
|
error: mismatched closing delimiter: `}`
|
2024-07-19 01:58:16 -05:00
|
|
|
--> $DIR/mismatched-delimiter-corner-case-issue-127868.rs:4:42
|
2024-07-19 01:55:27 -05:00
|
|
|
|
|
|
|
|
LL | fn main() {
|
|
|
|
| - closing delimiter possibly meant for this
|
|
|
|
LL | let a = [[[[[[[[[[[[[[[[[[[[1, {, (, [,;
|
|
|
|
| ^ unclosed delimiter
|
|
|
|
LL | }
|
|
|
|
| ^ mismatched closing delimiter
|
|
|
|
|
|
|
|
error: this file contains an unclosed delimiter
|
2024-07-19 01:58:16 -05:00
|
|
|
--> $DIR/mismatched-delimiter-corner-case-issue-127868.rs:6:52
|
2024-07-19 01:55:27 -05:00
|
|
|
|
|
|
|
|
LL | fn main() {
|
|
|
|
| - unclosed delimiter
|
|
|
|
LL | let a = [[[[[[[[[[[[[[[[[[[[1, {, (, [,;
|
2024-07-19 01:58:16 -05:00
|
|
|
| ----- - this delimiter might not be properly closed...
|
|
|
|
| |||||
|
|
|
|
| ||||another 16 unclosed delimiters begin from here
|
2024-07-19 01:55:27 -05:00
|
|
|
| |||unclosed delimiter
|
|
|
|
| ||unclosed delimiter
|
|
|
|
| |unclosed delimiter
|
|
|
|
| unclosed delimiter
|
|
|
|
LL | }
|
|
|
|
| - ...as it matches this but it has different indentation
|
|
|
|
LL |
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|