Function swc_macros_common::def_site
source · [−]pub fn def_site<T: FromSpan>() -> T
Expand description
Span::def_site().located_at(Span::call_site()).as_token()
pub fn def_site<T: FromSpan>() -> T
Span::def_site().located_at(Span::call_site()).as_token()