最佳答案
为了了解 Rust 是如何工作的,我决定查看一个名为 很多的基于终端的小型文本编辑器。我克隆了存储库并运行了 cargo build
,结果被告知:
error: *if let* syntax is experimental help: add #![feature(if_let)] to the crate attributes to enable
我应该在哪里添加 #![feature(if_let)]
的板条箱属性?