Hi! I have a new VS Code installation with rust-analyzer [1] installed, although this happens with the release version as well. I have a minimal program:
use autograd::ndarray::{s, array};
fn main() {
let a = array![[1., 2.], [3., 4.]];
println!("{:?}", a.slice(s![0, ..]));
}
... that has no problems reported by cargo clippy
[2], but rust-analyzer says, "expected 3 arguments, found 2 [Ln 5, Col 5]". I saw similar looking bugs in github, but some are closed. I think this is a new bug.
I'm planning to create a new bug report, but anyone recognizing this, please let me know.
- rust-analyzer version: 0.4.1182-standalone (ca8093e28 2022-08-25)
- rustc 1.63.0 (4b91a6ea7 2022-08-08)