aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-02-29 22:24:21 +0000
committerGitHub <[email protected]>2020-02-29 22:24:21 +0000
commit61fe34b709cc487b96046e11ac949684572b1629 (patch)
treec6d104134a0e2ca7ee1846ce1684f95bc246d09d /crates/ra_project_model/src
parent6ee3470975b5a317feac7fcdf0586ff098332303 (diff)
parent9f1adf8498d9fd2ca5d207477a77a94eddd9b5a9 (diff)
Merge #3382
3382: ra_project_model: migrate to Sysroot::alloc() r=matklad a=Veetaha Co-authored-by: Veetaha <[email protected]>
Diffstat (limited to 'crates/ra_project_model/src')
-rw-r--r--crates/ra_project_model/src/sysroot.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_project_model/src/sysroot.rs b/crates/ra_project_model/src/sysroot.rs
index db779a2d2..c51957c1f 100644
--- a/crates/ra_project_model/src/sysroot.rs
+++ b/crates/ra_project_model/src/sysroot.rs
@@ -66,7 +66,7 @@ impl Sysroot {
66 } 66 }
67 } 67 }
68 } 68 }
69 if let Some(alloc) = sysroot.by_name("alloc") { 69 if let Some(alloc) = sysroot.alloc() {
70 if let Some(core) = sysroot.core() { 70 if let Some(core) = sysroot.core() {
71 sysroot.crates[alloc].deps.push(core); 71 sysroot.crates[alloc].deps.push(core);
72 } 72 }