Rust-analyzer can't figure out types
- Dominant language
- Rust
- Stars
- 4.8k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
This is not really an issue with the library but rather a poll to know if others ran into this issue. I'm using VSCode with the latest rust-analyzer extension and I get errors on all vector creation since nalgebra 0.27.1 (during cargo check only, it compiles just fine).
I defined a typedef `pub type Vector2f = Vector2` and if I call `let v = Vector2f::new(1.0,1.0);` I get
`Expected 4 arguments, found 2 rust-analyzer mismatched-arg-count` from the rust-analyzer. Note that manually using cargo check **does** work it's only an issue with the rust-analyzer.
Did anyone else encounter this issue, or has a combination of rust-analyzer/ rust version that doesn't have that issue?
I'm using the rustc 1.54.0-nightly compiler
Best,
Philippe
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.