Rollup merge of #123133 - xiaoxiangxianzi:master, r=fmease
chore: fix some comments
This commit is contained in:
commit
45cec32ac3
8 changed files with 9 additions and 9 deletions
|
@ -409,7 +409,7 @@ fn const_validate_mplace<'mir, 'tcx>(
|
|||
}
|
||||
};
|
||||
ecx.const_validate_operand(&mplace.into(), path, &mut ref_tracking, mode)
|
||||
// Instead of just reporting the `InterpError` via the usual machinery, we give a more targetted
|
||||
// Instead of just reporting the `InterpError` via the usual machinery, we give a more targeted
|
||||
// error about the validation failure.
|
||||
.map_err(|error| report_validation_error(&ecx, error, alloc_id))?;
|
||||
inner = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue