Closed
Description
So I'm trying to create a dynamic matrix with nalgebra like let dm3 = DMatrix::from_fn(3, 3, |r, c| if r == c { 1.0 } else { 0.0 })
. This code is a copy from this official file.
Current Behaviour
Rust-analyzer is giving me this error eventhough the cargo check
command says it works just fine
Expected Behaviour
Rust-analyzer should be able to know different types of function aliases and not show error
rust-analyzer version: 5d5bbec 2022-05-09 stable
rustc version: 1.60.0 (7737e0b5c 2022-04-04)
relevant settings: vscode { Check On Save: Command = clippy }
Metadata
Metadata
Assignees
Labels
No labels