I'm uncertain whether or not this is a new issue/regression caused by the changes to the codegen to use the quote library.
The grammar given in #473 if you try to run through the CTParserBuilder, you need to rename or provide a different module name, I'm pretty sure that it is trying to generate mod postgres-16-naked_y
and thus is complaining that the dashes don't form a valid ident.
My current workaround was just to rename the file. One option might be to replace dashes with underscores, or is this working as intended?
thread 'main' (4058495) panicked at ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quote-1.0.43/src/runtime.rs:458:9:
"postgresql-16-naked_y" is not a valid Ident
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I'm uncertain whether or not this is a new issue/regression caused by the changes to the codegen to use the
quotelibrary.The grammar given in #473 if you try to run through the
CTParserBuilder, you need to rename or provide a different module name, I'm pretty sure that it is trying to generatemod postgres-16-naked_yand thus is complaining that the dashes don't form a valid ident.
My current workaround was just to rename the file. One option might be to replace dashes with underscores, or is this working as intended?