Skip to content
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

build fails compiling hir #56

Closed
mighdoll opened this issue Nov 27, 2022 · 2 comments
Closed

build fails compiling hir #56

mighdoll opened this issue Nov 27, 2022 · 2 comments

Comments

@mighdoll
Copy link
Contributor

   Compiling hir v0.0.0 (/Users/lee/.cargo/git/checkouts/wgsl-analyzer-78f816c0d319358c/73a7553/crates/hir)
error[E0658]: `let...else` statements are unstable
  --> crates/hir/src/diagnostics/precedence.rs:18:9
   |
18 | /         let hir_def::expr::Expr::BinaryOp { op, lhs, rhs } = expr
19 | |         else {
20 | |             continue;
21 | |         };
   | |__________^
   |
   = n

building on macos

@jakobhellermann
Copy link
Contributor

This is a recently stabilized feature, try runningrustup update

@mighdoll
Copy link
Contributor Author

that's it, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants