{"ast_node_type":"function","tokens":[{"end":30,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn current() -> Self {
    /// Gets the registry associated with the current thread. Panics if there's no such registry.
        REGISTRY.with(|registry| registry.get().cloned().expect("No associated registry"))