E0003
Bracket that is never closed
ErrorEvery (, [ and { needs its closing bracket before the end of the file. The error points at the innermost bracket that is still open.
Why
A missing closing bracket changes what every later line means, so the compiler stops at the end of the file and names the bracket that never closed.
Broken
fn main() {
print(1)
What sisu says
error[E0003]: unclosed `{` --> E0003.sisu:1:11 | 1 | fn main() { | ^ sisu: 1 error sisu: for more on a code, run `sisu explain <code>`: E0003
Fixed
fn main() {
print(1)
}
Sisu