1
Fork 0

Rollup merge of #123133 - xiaoxiangxianzi:master, r=fmease

chore: fix some comments
This commit is contained in:
Matthias Krüger 2024-03-27 23:27:24 +01:00 committed by GitHub
commit 45cec32ac3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 9 additions and 9 deletions

View file

@ -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;