Skip to content

Commit fc5b485

Browse files
committed
add comments
1 parent 768965a commit fc5b485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_mir/interpret/eval_context.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pub struct Frame<'mir, 'tcx, Tag=(), Extra=()> {
9191
pub extra: Extra,
9292
}
9393

94-
#[derive(Clone, Eq, PartialEq, Debug)]
94+
#[derive(Clone, Eq, PartialEq, Debug)] // Miri debug-prints these
9595
pub enum StackPopCleanup {
9696
/// Jump to the next block in the caller, or cause UB if None (that's a function
9797
/// that may never return). Also store layout of return place so
@@ -113,7 +113,7 @@ pub struct LocalState<'tcx, Tag=(), Id=AllocId> {
113113
}
114114

115115
/// Current value of a local variable
116-
#[derive(Clone, PartialEq, Eq, Debug)]
116+
#[derive(Clone, PartialEq, Eq, Debug)] // Miri debug-prints these
117117
pub enum LocalValue<Tag=(), Id=AllocId> {
118118
/// This local is not currently alive, and cannot be used at all.
119119
Dead,

0 commit comments

Comments
 (0)