File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ impl<'tcx> AllocMap<'tcx> {
344344 }
345345 }
346346
347- /// Returns `None` in case the `AllocId` is dangling. An `EvalContext ` can still have a
347+ /// Returns `None` in case the `AllocId` is dangling. An `InterpretCx ` can still have a
348348 /// local `Allocation` for that `AllocId`, but having such an `AllocId` in a constant is
349349 /// illegal and will likely ICE.
350350 /// This function exists to allow const eval to detect the difference between evaluation-
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const STEPS_UNTIL_DETECTOR_ENABLED: isize = 1_000_000;
3434/// Should be a power of two for performance reasons.
3535const DETECTOR_SNAPSHOT_PERIOD : isize = 256 ;
3636
37- /// The `EvalContext ` is only meant to be used to do field and index projections into constants for
37+ /// The `InterpretCx ` is only meant to be used to do field and index projections into constants for
3838/// `simd_shuffle` and const patterns in match arms.
3939///
4040/// The function containing the `match` that is currently being analyzed may have generic bounds
You can’t perform that action at this time.
0 commit comments