Crate to generate new symbols inside macros

I vaguely recall that there is a crate which makes it possible to create new symbols (identifiers) inside macros, but I'm failing to find it.

For example, if

my_macro!(foo ...)

should expand to something like

fn foo_one(...) { ... }
fn foo_two(...) { ... }

then I need my_macro! to create the symbols foo_one and foo_two by sticking stuff onto the foo it receives as input. (IOW, I want Common Lisp's make-symbol.)

Does this crate exist, or am I misremembering?

or

Thank you!

paste. My mind kept on telling me "it's something like copy" :slight_smile:

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.