Home
last modified time | relevance | path

Searched refs:cfg_compile_error (Results 1 – 2 of 2) sorted by relevance

/linux/rust/zerocopy-derive/derive/
H A Dinto_bytes.rs125 let cfg_compile_error = if cfg!(zerocopy_derive_union_into_bytes) { in derive_into_bytes_union() localVariable
163 Ok(quote!(#cfg_compile_error #impl_block)) in derive_into_bytes_union()
/linux/rust/zerocopy-derive/
H A Dutil.rs111 pub(crate) fn cfg_compile_error(&self) -> TokenStream { in cfg_compile_error() method
139 Ok(self.cfg_compile_error()) in error_or_skip()
706 let cfg_compile_error = self.ctx.cfg_compile_error(); in build() localVariable
707 const_block([Some(cfg_compile_error), Some(impl_tokens), outer_extras]) in build()