no need to polymorphize
This commit is contained in:
parent
6a9c5fb4cc
commit
40b6bccd64
1 changed files with 0 additions and 1 deletions
|
|
@ -1197,7 +1197,6 @@ fn collect_miri<'tcx>(
|
|||
}
|
||||
}
|
||||
GlobalAlloc::Function(fn_instance) => {
|
||||
let fn_instance = fn_instance.polymorphize(tcx);
|
||||
if should_codegen_locally(tcx, &fn_instance) {
|
||||
trace!("collecting {:?} with {:#?}", alloc_id, fn_instance);
|
||||
output.push(create_fn_mono_item(tcx, fn_instance, DUMMY_SP));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue