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