pub fn expand_derive(
    error_channel: Sender<Box<dyn Diagnostic>>,
    attrs: &[Attribute]
) -> Option<FxHashMap<Derive, Range>>