1
Fork 0

make intern_const_alloc_recursive return error fix #78655

This commit is contained in:
Vishnunarayan K I 2020-11-04 22:23:43 +05:30
parent 8e8939b804
commit bd7229daf0
9 changed files with 64 additions and 11 deletions

View file

@ -67,7 +67,7 @@ fn eval_body_using_ecx<'mir, 'tcx>(
None => InternKind::Constant,
}
};
intern_const_alloc_recursive(ecx, intern_kind, ret);
intern_const_alloc_recursive(ecx, intern_kind, ret)?;
debug!("eval_body_using_ecx done: {:?}", *ret);
Ok(ret)