Rollup merge of #78742 - vn-ki:fix-issue-78655, r=oli-obk
make intern_const_alloc_recursive return error fix #78655 r? ``@oli-obk``
This commit is contained in:
commit
5ffccc4dfa
11 changed files with 66 additions and 26 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue