This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 256
[Project Model] Error when loading a Cargo.toml with edition
#1043
Comments
As @dwijnand pointed out, the edition should be stabilised soon: rust-lang/cargo#5984 However, I'm puzzled by |
Good link! Turns out that change in Rustfmt is very recent: https://github.com/rust-lang-nursery/rustfmt/pull/2948/files So perhaps RLS just needs the same change? |
bors-voyager bot
added a commit
that referenced
this issue
Sep 10, 2018
1045: Enable nightly flag for cargo r=Xanewok a=kngwyu For #1043 But I want to note here that racer has not yet implemented 2018 style path features completely(e.g. see racer-rust/racer#916). So to make all things work we have to do additional works on racer side. Co-authored-by: kngwyu <yuji.kngw.80s.revive@gmail.com>
bors-voyager bot
added a commit
that referenced
this issue
Sep 11, 2018
1045: Enable nightly flag for cargo r=Xanewok a=kngwyu For #1043 But I want to note here that racer has not yet implemented 2018 style path features completely(e.g. see racer-rust/racer#916). So to make all things work we have to do additional works on racer side. Co-authored-by: kngwyu <yuji.kngw.80s.revive@gmail.com>
bors-voyager bot
added a commit
that referenced
this issue
Sep 17, 2018
1045: Enable nightly flag for cargo r=Xanewok a=kngwyu For #1043 But I want to note here that racer has not yet implemented 2018 style path features completely(e.g. see racer-rust/racer#916). So to make all things work we have to do additional works on racer side. Co-authored-by: kngwyu <yuji.kngw.80s.revive@gmail.com>
@kngwyu can we close this? The |
Yeah, I just forgot to close this |
Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When the Cargo.toml in workspace-root contains
edition
, ProjectModelProvider causes an errorlike
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
The text was updated successfully, but these errors were encountered: