proc-macro3
defines a macro that imports either from proc_macro
or proc-macro2
depending on the proc-macro2
feature flag.
Examples
!; // creates a module named 'proc_macro'
use TokenStream; // uses from the newly created module
import
defines a macro that imports either from proc_macro
or proc-macro2
depending on the proc-macro2
feature flag.
!; // creates a module named 'proc_macro'
use TokenStream; // uses from the newly created module
import