add crate-local -Z reference_niches
unstable flag (does nothing for now)
This commit is contained in:
parent
30ae640a3c
commit
8b847ef734
10 changed files with 61 additions and 3 deletions
|
@ -49,6 +49,14 @@ bitflags! {
|
|||
}
|
||||
}
|
||||
|
||||
/// Which niches (beyond the `null` niche) are available on references.
|
||||
#[derive(Default, Copy, Clone, Hash, Debug, Eq, PartialEq)]
|
||||
#[cfg_attr(feature = "nightly", derive(Encodable, Decodable, HashStable_Generic))]
|
||||
pub struct ReferenceNichePolicy {
|
||||
pub size: bool,
|
||||
pub align: bool,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
|
||||
#[cfg_attr(feature = "nightly", derive(Encodable, Decodable, HashStable_Generic))]
|
||||
pub enum IntegerType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue