E0007
Closing bracket that does not match
ErrorA ), ] or } must close the innermost bracket that is still open, and it must be the matching one.
Why
A closing bracket that does not match shifts the meaning of everything after it. When another bracket is open instead, the error points at it too.
Broken
fn main() {
print(1)
}
}
What sisu says
error[E0007]: unexpected `}` --> E0007.sisu:4:1 | 4 | } | ^ sisu: 1 error sisu: for more on a code, run `sisu explain <code>`: E0007
Fixed
fn main() {
print(1)
}
Sisu