vscode-rust
vscode-rust copied to clipboard
Warning for unused import that is used
Warning for unused import while the type is used (cargo clippy doesn't yell this warning)

This were this example came from: https://github.com/RedisJSON/RedisJSON/blob/master/src/lib.rs
Not sure what's up, but it seems related to the #[cfg]. It appears to work in https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer, you should probably try that instead.