{"ast_node_type":"function","tokens":[{"end":98,"kind":"keyword","start":0,"text":"fn"}]}
    fn with_current_self_type<T>(&mut self, self_type: &Ty, f: impl FnOnce(&mut Self) -> T) -> T {
        // Handle nested impls (inside fn bodies)