I have an expansion like this in a macro:
stringify!( $ns::$services )
It will generate something like:
remote :: Add, but I would like it to be
remote::Add, and I need it to be a
&'static str so I'm not to fond on post processing it...
I have tried with
paste::expr!, but I need it inside another
paste::expr! block and it doesn't seem to support being nested.
I also checked
std::any::type_name, but as expected that gives me a full path, which is not what I wanted either.