pub fn fmt_index<D: Dialect>( list: &impl Display, index: &impl Display, list_ty: &Item<D>, ) -> String