mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
support non-extern-prelude dependencies
This commit is contained in:
parent
cd9f27d424
commit
0b76b29512
9 changed files with 205 additions and 55 deletions
|
@ -83,9 +83,8 @@ impl ProjectJson {
|
|||
deps: crate_data
|
||||
.deps
|
||||
.into_iter()
|
||||
.map(|dep_data| Dependency {
|
||||
crate_id: CrateId(dep_data.krate as u32),
|
||||
name: dep_data.name,
|
||||
.map(|dep_data| {
|
||||
Dependency::new(dep_data.name, CrateId(dep_data.krate as u32))
|
||||
})
|
||||
.collect::<Vec<_>>(),
|
||||
cfg: crate_data.cfg,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue