pg_query.rs
pg_query.rs copied to clipboard
rust-analyzer cannot figure out the type of Node
This is likely more a problem with rust-analyzer than this library, but I want to raise awareness because this harms ergonomics and I'd like to understand if there's a work around you all have figured out.
e.g. Even though type is Result<Vec<Node::SelectStmt, Error>>
and this code compiles correctly, rust-analyzer provides Result<Vec<{unknown}, Error>>
Anything that can be done to make this easier to work with?