Closed
Description
I found writing rust often confused by missing closing "}" or ")" error message. when editting large file. the line number in error message is completely wrong, looking through my code the changes are no where near the line. It takes a long time for me to spot the syntax problem.
error: unexpected close delimiter: `}`
--> core/src/tx_file.rs:1218:1
|
1179 | None=>{},
| -- this block is empty, you might have not meant to close it
...
1218 | }
| ^ unexpected close delimiter