mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Replace SmolStr usage with lang item enum for lang items
This commit is contained in:
parent
1afa032f34
commit
1535881836
21 changed files with 432 additions and 193 deletions
|
@ -1162,9 +1162,7 @@ fn sysroot_to_crate_graph(
|
|||
let public_deps = SysrootPublicDeps {
|
||||
deps: sysroot
|
||||
.public_deps()
|
||||
.map(|(name, idx, prelude)| {
|
||||
(CrateName::new(name).unwrap(), sysroot_crates[&idx], prelude)
|
||||
})
|
||||
.map(|(name, idx, prelude)| (name, sysroot_crates[&idx], prelude))
|
||||
.collect::<Vec<_>>(),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue