trivial cfg(bootstrap) changes
This commit is contained in:
parent
e96538aeeb
commit
181d28bb61
42 changed files with 176 additions and 314 deletions
|
@ -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>>,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue