Authentication-Results: mail-b.sr.ht; dkim=pass header.d=ireas.org header.i=@ireas.org Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) by mail-b.sr.ht (Postfix) with ESMTPS id AE31D11EE04 for <~ireas/public-inbox@lists.sr.ht>; Thu, 10 Mar 2022 09:34:48 +0000 (UTC) Received: from smtp202.mailbox.org (smtp202.mailbox.org [80.241.60.245]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4KDkRp3YFhz9sTW; Thu, 10 Mar 2022 10:34:46 +0100 (CET) Date: Thu, 10 Mar 2022 10:34:36 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ireas.org; s=MBO0001; t=1646904884; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=12cKhhtMKytMUzkuePSyCF7NKXkcFaFy+bl2Lww4/Bs=; b=TPPVBd4Fz+eLJYU9SVF3JyTyVhRvO2UsH+YXnP3DXfO65vGdt+/TegTga2GbHHPE0GWgL2 G2w3t1WXk/tjRnSrrz4KQDfZgSGSOanJ3AAZ3fepuy9XXZ2ItcnKz3I8CkI7dHlLZxqoFc O0ZkdMTtX5t1z7D3wca+v4S8z8n7TmQ0pxvt9/tMEptZdcfR2D82aPocs/MsZLJ2j83tYf aGaEkjQ85wkM9YMQbV/kaRhjB2fY8muan23NX/603YW4/ZohVwY3L8WiOt70sqB4HkOeC+ EDrJShTfAHTxRf9vUOafRKFvRkSA9ujPUOS2h1ZxCtzxsO88aJpSKaASQ51wsQ== From: Robin Krahl To: xiao zhang Cc: ~ireas/public-inbox@lists.sr.ht Subject: Re: [merge-rs] Cannot derive Merge for struct with generics Message-ID: <20220310093436.GA4984@ireas.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks for the report! That is definitely a valid use case. Probably I just did not handle type parameters in the macro rules. I=E2=80=99ll have a look at it and see whether this can be fixed easily. /Robin --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEXP0gHdh2xl8puuMojpsIcFJPadgFAmIpxiYACgkQjpsIcFJP adjivA//dZbShUhm8DhAr2YPED2fgYlw6q5QFAz14rvT+rfl64NAnQVBAzesbxzW 9jLM+HHk1h7dCqeKc+I5Zj5jwUAflDxXjixsZiQnE8bmyZBhOlsPOd5ypWkax2x9 Gbxhm1vkUXUWfJUIW1zVOJtfq0hJWOZm2z+25u/xYG4fqZVn2PlmUI/Wcwv0O28Q 0hPy0s6zjgPB8jXnRUISTaNjOMOLTDiEr30irxdf9ub6XWrHbjbC2weiEy1YYD8L 34d207sHi6YJNrnvTm+Gtd2DqOPYMwxfCy0jO55dydl3YLG88I0dNJl6hKG+ZmXH bE9XrYV26lP5/m6jZT6sRxZwOzGVaThno5Ki0pq7Rp3QDnPlTpDmeAEH5HLaIS6j B9TrTHtpjJTXs+EW1r0YsJ9PTAxqJTH20TC7BjeCV6W291oZeYWEPWjbMkZmQ8jY 5K68+iA63ZfXjQmDd77bBpkx8PXWdgrLA2XTTxrnt618iBZghgU7jw4NKEAyr75x Gh8isElpvkITVBB8rjFmebU9283vNWAm91Dio69/slAqfnnnixeQhe/eFFTFOj6d YxEPi6DqMy6jA1yl8xynxSrTVVNnqd4TVPlWTdR2QCCiydszDc9dnLX60fejPjUu rc1c/LrImlx+nz2/06jZZfS1KZagsisJpwr7eq8YYnuKxt2P82U= =GgQT -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--