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
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
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 fineExpected 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 }
The text was updated successfully, but these errors were encountered: