pub GenericBounds,
pub Vec<P<AssocItem>>,
);
+
#[derive(Clone, Encodable, Decodable, Debug)]
pub struct TyAliasKind(pub Defaultness, pub Generics, pub GenericBounds, pub Option<P<Ty>>);
MacroDef(MacroDef),
}
+#[cfg(target_arch = "x86_64")]
+rustc_data_structures::static_assert_size!(ItemKind, 112);
+
impl ItemKind {
pub fn article(&self) -> &str {
use ItemKind::*;
MacCall(MacCall),
}
+#[cfg(target_arch = "x86_64")]
+rustc_data_structures::static_assert_size!(AssocItemKind, 72);
+
impl AssocItemKind {
pub fn defaultness(&self) -> Defaultness {
match *self {
MacCall(MacCall),
}
+#[cfg(target_arch = "x86_64")]
+rustc_data_structures::static_assert_size!(ForeignItemKind, 72);
+
impl From<ForeignItemKind> for ItemKind {
fn from(foreign_item_kind: ForeignItemKind) -> ItemKind {
match foreign_item_kind {