]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_mir/interpret/eval_context.rs
Simplify `force_allocation_maybe_sized`
[rust.git] / src / librustc_mir / interpret / eval_context.rs
index e8576b198dc24c9e8a027285f9cefd521adbc779..5ba9dcd3aa5c8484c9ce7e4e3c329524733919cc 100644 (file)
@@ -118,7 +118,7 @@ pub struct LocalState<'tcx, Tag = (), Id = AllocId> {
 }
 
 /// Current value of a local variable
-#[derive(Clone, PartialEq, Eq, Debug, HashStable)] // Miri debug-prints these
+#[derive(Copy, Clone, PartialEq, Eq, Debug, HashStable)] // Miri debug-prints these
 pub enum LocalValue<Tag = (), Id = AllocId> {
     /// This local is not currently alive, and cannot be used at all.
     Dead,