error[E0658]: `let...else` statements are unstable
--> /home/bv/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_reflect_derive-0.9.1/src/type_uuid.rs:27:9
|
27 | / let Meta::NameValue(name_value) = attribute else {
28 | | continue;
29 | | };
| |__________^
|
= note: see issue #87335 <https://github.com/rust-lang/rust/issues/87335> for more information
error: could not compile `bevy_reflect_derive` due to 3 previous errors
I was reading the bevy book. I did
cargo new bevy_1
cargo add bevy
cargo run
And the build fails, it gives me 2 more similar errors for the same module. I am new to both rust and bevy, so not sure if I am doing something wrong.