From 4854408f284e5b4290be00293b31d63140862be6 Mon Sep 17 00:00:00 2001 From: ivfranco Date: Thu, 5 Sep 2019 22:04:56 +0800 Subject: close #1763 --- crates/ra_project_model/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_project_model') diff --git a/crates/ra_project_model/src/lib.rs b/crates/ra_project_model/src/lib.rs index 676dc4941..9b2f534e7 100644 --- a/crates/ra_project_model/src/lib.rs +++ b/crates/ra_project_model/src/lib.rs @@ -153,7 +153,7 @@ impl ProjectWorkspace { if let Some(file_id) = load(krate.root(&sysroot)) { sysroot_crates.insert( krate, - crate_graph.add_crate_root(file_id, Edition::Edition2015), + crate_graph.add_crate_root(file_id, Edition::Edition2018), ); } } -- cgit v1.2.3