macro_rules! minimal_quote {
($($t:tt)*) => { ... };
}🔬This is a nightly-only experimental API. (
proc_macro_internals)Expand description
Simpler version of the real quote! macro, implemented solely
through macro_rules, for bootstrapping the real implementation
(see the quote function), which does not have access to the
real quote! macro due to the proc_macro crate not being
able to depend on itself.
Note: supported tokens are a subset of the real quote!, but
unquoting is different: instead of $x, this uses (@ expr).