Rust.vim RustFmt error: let chains are only allowed in Rust 2024 or later
โ Rust ๐ 2025-10-29 ๐ค surdeus ๐๏ธ 8Asking here in case anyone has a solution since rust.vim seems to no longer be actively maintained (2023, 2024).
I just filed the issue on `RustFmt` error: "let chains are only allowed in Rust 2024 or later" but I'm on 2024 ยท Issue #529 ยท rust-lang/rust.vim ยท GitHub since that's where it belongs, but I wanted to know whether anyone here was aware of a workaround.
Summary of the issue: I have a crate configured as the 2024 edition, but running :RustFmt on a rust file that's using let chains fails with a location list of errors saying:
error: let chains are only allowed in Rust 2024 or later
Does anyone know any workarounds to resolve this issue in vim?
4 posts - 3 participants
๐ท๏ธ Rust_feed