Unify all uses of 'gcx and 'tcx.
This commit is contained in:
parent
0e4a56b4b0
commit
f3f9d6dfd9
341 changed files with 3109 additions and 3327 deletions
|
@ -367,7 +367,7 @@ pub fn provide_extern(providers: &mut Providers<'_>) {
|
|||
};
|
||||
}
|
||||
|
||||
fn wasm_import_module(tcx: TyCtxt<'_, '_>, id: DefId) -> Option<CString> {
|
||||
fn wasm_import_module(tcx: TyCtxt<'_>, id: DefId) -> Option<CString> {
|
||||
tcx.wasm_import_module_map(id.krate)
|
||||
.get(&id)
|
||||
.map(|s| CString::new(&s[..]).unwrap())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue