warg-server Args no-such-field without postgres feature
kriswuollett opened this issue · 2 comments
kriswuollett commented
Visual Studio Code displays no such fieldrust-analyzer[no-such-field](https://rust-analyzer.github.io/manual.html#no-such-field)
on the following when feature postgres
is not included in analyzer settings:
{
// "rust-analyzer.cargo.features": ["postgres"],
}
The error goes away when the database_url
and database_url_file
fields are commented out:
registry/crates/server/src/bin/warg-server.rs
Lines 35 to 48 in 72a9049
kriswuollett commented
Perhaps another false positive like rust-lang/rust-analyzer#11473
peterhuene commented
Merged the workaround, so I think we can close this for now.