You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code causes incorrect mismatched-arg-count, cargo check reports no problems.
Cargo.toml:
[dependencies]
nalgebra = "0.26.2"
src/main.rs:
use nalgebra::Point3;fnmain(){let _ = Point3::new(1.0,2.0,3.0);}
Error: Expected 1 argument, found 3 (rust-analyzer(mismatched-arg-count))
Downgrading nalgebra to 0.25.* or below fixes the issue.
Same happens with every Point* type except Point1, rust-analyzer thinks the constructor should have 1 argument.
Running on VSCode on Windows 10 with rust-analyzer version: b82458818 2021-05-17 stable.
Also tested on rust-analyzer version: 764241e38 2021-05-20 nightly, same issue.
The text was updated successfully, but these errors were encountered:
The following code causes incorrect mismatched-arg-count, cargo check reports no problems.
Cargo.toml
:src/main.rs
:Error:
Expected 1 argument, found 3 (rust-analyzer(mismatched-arg-count))
Downgrading nalgebra to
0.25.*
or below fixes the issue.Same happens with every Point* type except Point1, rust-analyzer thinks the constructor should have 1 argument.
Running on VSCode on Windows 10 with
rust-analyzer version: b82458818 2021-05-17 stable
.Also tested on
rust-analyzer version: 764241e38 2021-05-20 nightly
, same issue.The text was updated successfully, but these errors were encountered: