首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我不能编“铁锈”里的贝维?

我不能编“铁锈”里的贝维?
EN

Stack Overflow用户
提问于 2022-11-23 21:45:40
回答 2查看 98关注 0票数 -2

我开始用贝维了。我去了他们的网站,并开始了设置的事情,但当我去编译不会。

它一直在返回这个错误。

代码语言:javascript
复制
error[E0658]: `let...else` statements are unstable
   --> C:\Users\drew0\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_render_macros-0.9.0\src\as_bind_group.rs:119:13
    |
119 | /             let Some(attr_ident) = attr.path.get_ident() else {
120 | |                 continue;
121 | |             };
    | |______________^
    |
    = note: see issue #87335 <https://github.com/rust-lang/rust/issues/87335> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `bevy_render_macros` due to previous error
warning: build failed, waiting for other jobs to finish...
error[E0658]: `let...else` statements are unstable
   --> C:\Users\drew0\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_reflect_derive-0.9.0\src\container_attributes.rs:140:21
    |
140 | /                     let Some(segment) = path.segments.iter().next() else {
141 | |                         continue;
142 | |                     };
    | |______________________^
    |
    = note: see issue #87335 <https://github.com/rust-lang/rust/issues/87335> for more information

error[E0658]: `let...else` statements are unstable
   --> C:\Users\drew0\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_reflect_derive-0.9.0\src\container_attributes.rs:174:21
    |
174 | /                     let Some(segment) = list.path.segments.iter().next() else {
175 | |                         continue;
176 | |                     };
    | |______________________^
    |
    = note: see issue #87335 <https://github.com/rust-lang/rust/issues/87335> for more information

error[E0658]: `let...else` statements are unstable
  --> C:\Users\drew0\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_reflect_derive-0.9.0\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

我已经在vscode中打开了文件,并删除了分号,但是它仍然不编译,并告诉我把它们放回去。我真的很想用贝维做游戏生锈,但这阻止了我。

EN

回答 2

Stack Overflow用户

发布于 2022-11-24 11:19:03

let-else稳定在1.65。您可以运行rustup update获得最新版本。

票数 1
EN

Stack Overflow用户

发布于 2022-11-23 22:01:54

要解决这个问题,你需要更新锈。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/74553319

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档