//@ force-host //@ no-prefer-dynamic #![crate_type = "proc-macro"] extern crate proc_macro; use proc_macro::TokenStream; #[proc_macro_derive(Deserialize)] pub fn deserialize_derive(input: TokenStream) -> TokenStream { "impl Build { fn deserialize() -> Option { let x: Option = Some(0); Some(x? + 1) } } " .parse() .unwrap() }