3382: ra_project_model: migrate to Sysroot::alloc() r=matklad a=Veetaha



Co-authored-by: Veetaha <gerzoh1@gmail.com>
This commit is contained in:
bors[bot] 2020-02-29 22:24:21 +00:00 committed by GitHub
commit 61fe34b709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ impl Sysroot {
}
}
}
if let Some(alloc) = sysroot.by_name("alloc") {
if let Some(alloc) = sysroot.alloc() {
if let Some(core) = sysroot.core() {
sysroot.crates[alloc].deps.push(core);
}