This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
[Project Model] Error when loading a Cargo.toml with edition
#1043
Closed
Description
When the Cargo.toml in workspace-root contains edition
, ProjectModelProvider causes an error
like
ERROR 2018-09-06T05:58:45Z: rls::actions: failed to fetch project model, using fallback: failed to parse manifest at `/home/yu/Programs/lark/Cargo.toml`
ErrorMessage { msg: "the cargo feature `edition` requires a nightly version of Cargo, but this is the `dev` channel" }
and can't do completion for external crates.
According to @matklad , it's related to https://github.com/rust-lang/cargo/blob/b15ee255e5cf625f15ff3f5ecdc6efb76e402768/src/cargo/lib.rs#L231
Metadata
Metadata
Assignees
Labels
No labels