diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-03-03 20:01:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-03 20:01:48 +0100 |
| commit | 939c1585a4a88d33e027c086d04ab102ad177597 (patch) | |
| tree | 24548a11af80f025830ce21b7396e209f66906a9 /compiler/rustc_const_eval/src/interpret | |
| parent | 26cbf9158d3c69817fdc9b94949f5d4aa699322b (diff) | |
| parent | 00fffdddd22cdd796cf4261cdbbf830bee7e4f7b (diff) | |
Rollup merge of #94555 - cuishuang:master, r=oli-obk
all: fix some typos Signed-off-by: cuishuang <imcusg@gmail.com>
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/operand.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/operand.rs b/compiler/rustc_const_eval/src/interpret/operand.rs index 716c01ba78c..16870489176 100644 --- a/compiler/rustc_const_eval/src/interpret/operand.rs +++ b/compiler/rustc_const_eval/src/interpret/operand.rs @@ -535,7 +535,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { let val = self.subst_from_current_frame_and_normalize_erasing_regions(constant.literal)?; // This can still fail: - // * During ConstProp, with `TooGeneric` or since the `requried_consts` were not all + // * During ConstProp, with `TooGeneric` or since the `required_consts` were not all // checked yet. // * During CTFE, since promoteds in `const`/`static` initializer bodies can fail. |
