pg_query.rs icon indicating copy to clipboard operation
pg_query.rs copied to clipboard

rust-analyzer cannot figure out the type of Node

Open rex-remind101 opened this issue 2 years ago • 0 comments

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>> Screen Shot 2022-07-15 at 9 42 44 AM

Anything that can be done to make this easier to work with?

rex-remind101 avatar Jul 15 '22 16:07 rex-remind101