generated from midad spec --json at build time; not edited by hand
generated This page is written by midad explain E0245 at build time; it is not edited by hand.
E0245error
This code is raised with a message built where the checker raises it, so the binary has no message template and no fix text for it: midad explain E0245 prints a dash in both places. The message in a real diagnostic names what the checker saw.
From the binary
$ midad explain E0245
E0245 (error)
`?` needs an option or result value, found {}
fix: -
A message template can carry {} where the checker fills in the values it saw:
the type it expected, the target it refused, the name it could not find.