Macro drone_macros_core::try_parse2[][src]

macro_rules! try_parse2 {
    ($span:expr, $input:expr) => { ... };
}

Matches the result of syn::parse2. In case of Ok variant, the expression has the value of the wrapped value. In case of Err variant, it retrieves the inner error, emits its message on the given span, and immediately returns an empty TokenStream.