about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2022-04-05 22:42:23 +0200
committerPietro Albini <pietro@pietroalbini.org>2022-04-05 23:18:40 +0200
commit181d28bb6110dc974879db20d433f21aa142db3a (patch)
tree3bbc185fd9386b9cc050235fd1785820fcaaae5c /compiler/rustc_middle/src/mir
parente96538aeeb2a71e672e1d1a40dcaf0ad34a826b5 (diff)
downloadrust-181d28bb6110dc974879db20d433f21aa142db3a.tar.gz
rust-181d28bb6110dc974879db20d433f21aa142db3a.zip
trivial cfg(bootstrap) changes
Diffstat (limited to 'compiler/rustc_middle/src/mir')
-rw-r--r--compiler/rustc_middle/src/mir/interpret/allocation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/mir/interpret/allocation.rs b/compiler/rustc_middle/src/mir/interpret/allocation.rs
index fed6a608e57..63f2bc51aee 100644
--- a/compiler/rustc_middle/src/mir/interpret/allocation.rs
+++ b/compiler/rustc_middle/src/mir/interpret/allocation.rs
@@ -58,7 +58,7 @@ pub struct Allocation<Tag = AllocId, Extra = ()> {
 /// means that both the inner type (`Allocation`) and the outer type
 /// (`ConstAllocation`) are used quite a bit.
 #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, HashStable)]
-#[cfg_attr(not(bootstrap), rustc_pass_by_value)]
+#[rustc_pass_by_value]
 pub struct ConstAllocation<'tcx, Tag = AllocId, Extra = ()>(
     pub Interned<'tcx, Allocation<Tag, Extra>>,
 );