Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Merge #1045
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
bors-voyager[bot] and kngwyu committed Sep 17, 2018
2 parents 2b21611 + 58f69fb commit c65e5c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/project_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ impl ProjectModel {
pub fn load(ws_manifest: &Path, vfs: &Vfs) -> Result<ProjectModel, failure::Error> {
assert!(ws_manifest.ends_with("Cargo.toml"));
let mut config = Config::default()?;
// Enable nightly flag for cargo(see #1043)
cargo::core::enable_nightly_features();
// frozen = false, locked = false
config.configure(0, Some(true), &None, false, false, &None, &[])?;
let ws = Workspace::new(&ws_manifest, &config)?;
Expand Down

0 comments on commit c65e5c5

Please sign in to comment.