We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LocalValue
1 parent e017f57 commit afb4faaCopy full SHA for afb4faa
src/librustc_mir/interpret/snapshot.rs
@@ -344,6 +344,7 @@ impl Hash for IgnoreAllocId<'_, LocalState<'tcx>> {
344
layout: _,
345
} = self.0;
346
347
+ std::mem::discriminant(value).hash(state);
348
match value {
349
LocalValue::Live(op) => op.erase_alloc_id().hash(state),
350
LocalValue::Dead | LocalValue::Uninitialized => value.hash(state),
0 commit comments