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
{{ message }}
This repository was archived by the owner on Mar 28, 2024. It is now read-only.
When I try to compile the project with cargo build --release, the compile fails with the following error:
error[E0658]: let...else statements are unstable.
The full error is:
error[E0658]: let...else statements are unstable
--> src/hist_file.rs:16:5
|
16 | let Ok(histfile_buffer) = std::fs::File::open(&args.file) else { panic!("Please specify a valid histfile")};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #87335 rust-lang/rust#87335 for more information
= help: add #![feature(let_else)] to the crate attributes to enable
For more information about this error, try rustc --explain E0658.
error: could not compile muc due to previous error /0.3s
I am using rustup version 1.25.1-2.
The text was updated successfully, but these errors were encountered:
When I try to compile the project with
cargo build --release
, the compile fails with the following error:error[E0658]:
let...else
statements are unstable.The full error is:
error[E0658]:
let...else
statements are unstable--> src/hist_file.rs:16:5
|
16 | let Ok(histfile_buffer) = std::fs::File::open(&args.file) else { panic!("Please specify a valid histfile")};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #87335 rust-lang/rust#87335 for more information
= help: add
#![feature(let_else)]
to the crate attributes to enableFor more information about this error, try
rustc --explain E0658
.error: could not compile
muc
due to previous error /0.3sI am using rustup version 1.25.1-2.
The text was updated successfully, but these errors were encountered: