fn build_debug_fmt_impl(
enum_name: Ident,
variants: Vec<ErrorVariant>,
) -> TokenStream
Expand description
Generate debug_fmt
fn.
The generated fn will be like:
ⓘ
fn debug_fmt(&self, layer: usize, buf: &mut Vec<String>);