[][src]Function frunk_proc_macro_helpers::build_coprod_unreachable_arm

pub fn build_coprod_unreachable_arm(length: usize, deref: bool) -> TokenStream2

Given the length of a Coproduct type, generates an "unreachable" match arm, matching the CNil case in order to work around limitations in the compiler's exhaustiveness checking.