This commit is contained in:
ivfranco 2019-09-05 22:04:56 +08:00
parent 82f3317e2b
commit 4854408f28

View file

@ -153,7 +153,7 @@ impl ProjectWorkspace {
if let Some(file_id) = load(krate.root(&sysroot)) { if let Some(file_id) = load(krate.root(&sysroot)) {
sysroot_crates.insert( sysroot_crates.insert(
krate, krate,
crate_graph.add_crate_root(file_id, Edition::Edition2015), crate_graph.add_crate_root(file_id, Edition::Edition2018),
); );
} }
} }