pub fn surface_parse_diagnostics(result: &ParseResult) -> Result<(), CliError>Expand description
Print parser warnings and fail on parser errors.
The parser emits entities best-effort even for source it could not fully interpret; generating migrations from a half-understood schema turns parser confusion into destructive DDL, so hard errors must stop the command.