/// Resolve the value of a token.
///
/// # Panics
///
/// This will panic if it's called outside of a macro context.
Resolve the value of a token.
Resolve the value of a token .
pub fn resolve<T>(item: T) -> Result<T::Owned, ResolveError>
where
    T: ResolveOwned,
{
    current_context(|ctx| ctx.resolve_owned(item))
}
pub fn resolve < T > ( item : T ) -> Result < T :: Owned , ResolveError > where T : ResolveOwned , { current_context ( | ctx | ctx . resolve_owned ( item ) ) }
Resolve the value of a token.
Resolve the value of a token .
item
T
panics
This will panic if it's called outside of a macro context.
This will panic if it ' s called outside of a macro context .