We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vscode version: 1.56.2, rust-analyzer: get it from vscode marketplace.
when I type the following code in vscode,
extern crate nalgebra as na; use na::{Matrix3x4, Vector3}; fn main() { let v = Vector3::new(1, 2, 3); print!("{}", v); let m = Matrix3x4::new(11, 12, 13, 14, 21, 22, 23, 24, 31, 32, 33, 34); print!("{}", m); }
It gaves the following error prompt: expected 4 arguments, found 3. Here is the screenshot:
But I run code in a cargo package with cargo run, it works and get the correct answer.
cargo run
$ cargo run Finished dev [unoptimized + debuginfo] target(s) in 0.01s Running `target/debug/matrices` ┌ ┐ │ 1 │ │ 2 │ │ 3 │ └ ┘ ┌ ┐ │ 11 12 13 14 │ │ 21 22 23 24 │ │ 31 32 33 34 │ └ ┘
The text was updated successfully, but these errors were encountered:
Duplicate of #8654.
Sorry, something went wrong.
No branches or pull requests
vscode version: 1.56.2, rust-analyzer: get it from vscode marketplace.
when I type the following code in vscode,
It gaves the following error prompt: expected 4 arguments, found 3. Here is the screenshot:
But I run code in a cargo package with
cargo run
, it works and get the correct answer.The text was updated successfully, but these errors were encountered: