-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
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
error[E0658]: let...else
statements are unstable
#13801
Comments
let-else is stable in 1.66, so if you're getting that error message you can't be compiling with 1.66. Maybe you have a local override, or are running some other cargo binary. Try running |
Here are the versions: I dont override version anywhere, im just using some crate from crates.io, but im not sure if that crate can possibly override the version? |
What do you mean by "I'm just using some crate from crates.io"? The issue you referenced is about compiling rust-analyzer, is that not what you're trying to do? |
Ohhh, it seems i created issue in wrong section because i used some crates, and those crates contain the error that i referenced. But yes, compilation did not work. Do you maybe have any other solutions? |
If you're just trying to compile some crate and getting this error without rust-analyzer being involved, this is indeed the wrong place for this issue 🙂 If you're just running e.g. |
Yes, i am running |
Your project can have a rust-toolchain file that overrides the version, but that would show up in |
#13562
This did not work for me. I still get the same error?
Is there anything else i am missing?
Versions:
rustup 1.25.1 (bb60b1e89 2022-07-12)
rustc 1.66.0 (69f9c33d7 2022-12-12
The text was updated successfully, but these errors were encountered: