Re: [PATCH 2/3] rust: macros: concat_idents: Allow :: paths in the first argument

From: Miguel Ojeda
Date: Wed Mar 08 2023 - 15:57:33 EST


On Sat, Feb 25, 2023 at 1:32 AM Gary Guo <gary@xxxxxxxxxxx> wrote:
>
> It seems weird to me that this is called `concat_idents` despite
> working for more things than just idents.
>
> How about just implement a simple version of the `paste` macro instead?

We discussed this in our latest meeting: what about a change of name
to `concat_paths`? That addresses the concern plus it avoids sharing
the name with the unstable `concat_idents` which could be even more
confusing after this patch.

Cheers,
Miguel