rust-analyzer: Error on DMatrix::zeros(rows, cols)
For me (on current weekly version), this version introduced a regression that causes DMatrix to be picked up incorrectly when using DMatrix::zeros(). It claims that there is no arguments:

However, a cargo check passes just fine, and I am actually building and running this code currently as part of another program, so it is certain that it does work. In fact, the last version did not have this issue.
My suspicion is that it is incorrectly picking up the first Matrix::zeros(). Nalgebra has four definitions of zeros() on Matrix, each of which may be used depending on which dimensions are Dynamic or which impl DimName.
I will let everyone know if this issue goes away on Monday.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 14
- Comments: 15 (6 by maintainers)
This issue seems to happen on all constructor or
DMatrixall is from official example, but it has
expected 1 argument, found 3from rust-analyzer