mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
Merge #3382
3382: ra_project_model: migrate to Sysroot::alloc() r=matklad a=Veetaha Co-authored-by: Veetaha <gerzoh1@gmail.com>
This commit is contained in:
commit
61fe34b709
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user