mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
ra_project_model: migrate to Sysroot::alloc()
This commit is contained in:
parent
5e78036e6c
commit
9f1adf8498
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
if let Some(core) = sysroot.core() {
|
||||||
sysroot.crates[alloc].deps.push(core);
|
sysroot.crates[alloc].deps.push(core);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue