pub fn expand_record_type(
    _error_channel: Sender<Box<dyn Diagnostic>>,
    entries: &mut FxHashMap<String, (Entry, EntryMeta)>,
    rec: &RecordDecl,
    derivations: FxHashMap<Derive, Range>
)