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

Commit c65e5c5

Browse files
Merge #1045
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]>
2 parents 2b21611 + 58f69fb commit c65e5c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/project_model.rs

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ impl ProjectModel {
4444
pub fn load(ws_manifest: &Path, vfs: &Vfs) -> Result<ProjectModel, failure::Error> {
4545
assert!(ws_manifest.ends_with("Cargo.toml"));
4646
let mut config = Config::default()?;
47+
// Enable nightly flag for cargo(see #1043)
48+
cargo::core::enable_nightly_features();
4749
// frozen = false, locked = false
4850
config.configure(0, Some(true), &None, false, false, &None, &[])?;
4951
let ws = Workspace::new(&ws_manifest, &config)?;

0 commit comments

Comments
 (0)