Searched refs:enum_ty (Results 1 – 5 of 5) sorted by relevance
13 pub mod enum_ty; module
157 let enum_ty = item.expect_type(); in is_matching_enum() localVariable164 if enum_ty.name().is_some() { in is_matching_enum()
6 use super::enum_ty::Enum;
5 pub use crate::ir::enum_ty::{EnumVariantCustomBehavior, EnumVariantValue};
33 use crate::ir::enum_ty::{Enum, EnumVariant, EnumVariantValue};2854 let enum_ty = item.expect_type(); in codegen() localVariable2855 let layout = enum_ty.layout(ctx); in codegen()3015 if enum_ty.name().is_none() { in codegen()3047 if is_toplevel || enum_ty.name().is_some() { in codegen()3061 if enum_ty.name().is_some() && in codegen()3076 enum_ty, in codegen()3091 enum_ty.name().is_some(), in codegen()3102 enum_ty.name().is_some(), in codegen()3110 if (variation.is_rust() && enum_ty.name().is_none()) || in codegen()[all …]