Remove some cruft from foreign_modules refactor
This commit is contained in:
parent
69dc98161a
commit
81444b2049
2 changed files with 4 additions and 5 deletions
|
@ -860,8 +860,6 @@ pub fn provide_both(providers: &mut Providers) {
|
|||
|
||||
providers.dllimport_foreign_items = |tcx, krate| {
|
||||
let module_map = tcx.foreign_modules(krate);
|
||||
let module_map =
|
||||
module_map.iter().map(|(def_id, lib)| (def_id, lib)).collect::<FxHashMap<_, _>>();
|
||||
|
||||
let dllimports = tcx
|
||||
.native_libraries(krate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue