No, not rust 1.22.
If you can use nightly builds ...
Yes: concat_idents!(get_, $iden) and this will allow you to create a new identifier.
But no: the parser does not allow macro calls everywhere, so many of the places that you may have tried to make will not work. In such cases, you are sad to yourself. fn concat_idents!(get_, $iden)(…) { … } , for example, will not work.
source share