Description
Hi, I'm using rust for advent of code this year, and having rust analyzer has been amazing! Thank you so much for all your hard work on this.
This is the diagnostic I'm getting from LSP:
The error message I get is expected 0 arguments, found 2
. I'm not exactly sure how this zeros
function is even implemented, rust doesn't support "method overloading", right? I think it has to do something with the various types involved here but I'm rather new to rust so I don't follow what might be going on here. This is the link to the documentation:
https://docs.rs/nalgebra/latest/nalgebra/base/struct.Matrix.html#method.zeros
You can see that when LSP is asking for completion items, it returns zeros(usize, usize)
as one of the results, among other zeros
functions.
This file is a minimal working example:
rust-analyzer version: (eg. output of "Rust Analyzer: Show RA Version" command)
$ rust-analyzer --version
rust-analyzer 73668334f 2021-11-15 stable
rustc version: (eg. output of rustc -V
)
$ rustc --version
rustc 1.56.0