Constant syntax::diagnostics::plugin::TRACK_DIAGNOSTICS [−]
pub const TRACK_DIAGNOSTICS: LocalKey<Cell<fn(&Diagnostic)>>=
{ #[inline] fn __init() -> Cell<fn(: &Diagnostic)> { <Cell>::new(default_track_diagnostic) } unsafe fn __getit() -> ::option::Option<&'static ::cell::UnsafeCell<::option::Option<Cell<fn(: &Diagnostic)>>>> { #[thread_local] #[cfg(all(target_thread_local, not(target_arch = "wasm32")))] static __KEY: ::thread::__FastLocalKeyInner<Cell<fn(: &Diagnostic)>> = <::thread::__FastLocalKeyInner>::new(); __KEY.get() } unsafe { <::thread::LocalKey>::new(__getit, __init) } }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?