Static syntax_pos::SPAN_DEBUG
[−]
pub static SPAN_DEBUG: LocalKey<Cell<fn(_: Span, _: &mut Formatter) -> Result>>=
{ fn __init() -> Cell<fn(Span, &mut fmt::Formatter) -> fmt::Result> { <Cell>::new(default_span_debug) } fn __getit() -> ::option::Option<&'static ::cell::UnsafeCell<::option::Option<Cell<fn(Span, &mut fmt::Formatter) -> fmt::Result>>>> { #[thread_local] #[cfg(target_thread_local)] static __KEY: ::thread::__FastLocalKeyInner<Cell<fn(Span, &mut fmt::Formatter) -> fmt::Result>> = <::thread::__FastLocalKeyInner>::new(); __KEY.get() } <::thread::LocalKey>::new(__getit, __init) }
🔬 This is a nightly-only experimental API. (
rustc_private
)