File tree 2 files changed +2
-2
lines changed
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> {
344
344
}
345
345
}
346
346
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
348
348
/// local `Allocation` for that `AllocId`, but having such an `AllocId` in a constant is
349
349
/// illegal and will likely ICE.
350
350
/// 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;
34
34
/// Should be a power of two for performance reasons.
35
35
const DETECTOR_SNAPSHOT_PERIOD : isize = 256 ;
36
36
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
38
38
/// `simd_shuffle` and const patterns in match arms.
39
39
///
40
40
/// 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