我正在从Shing Lyu的“Practical Rust Projects”中学习 Rust。我现在正在尝试按照第 4 章中的步骤构建游戏。我正在使用 Ubuntu 18.04 LTS。
安装 Rust 和 Amethyst 命令行后,我通过amethyst new cat_volleyball
. 下一步是使用cargo run --features=vulkan
. 当我这样做时,我收到下面的错误提示。你对如何解决这个问题有什么建议吗?
error[E0433]: failed to resolve: could not find `__rt` in `quote`
--> /home/alberto/.cargo/registry/src/github.com-1ecc6299db9ec823/err-derive-0.1.6/src/lib.rs:145:63
|
145 | fn display_body(s: &synstructure::Structure) -> Option<quote::__rt::TokenStream> {
| ^^^^ could not find `__rt` in `quote`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0433`.
error: could not compile `err-derive`.
warning: build failed, waiting for other jobs to finish...