{"ast_node_type":"function","tokens":[{"end":62,"kind":"keyword","start":0,"text":"bug!(\"expected"}]}
        bug!("expected fn def for autodiff, got {:?}", fn_ty);
    if !matches!(fn_ty.kind(), ty::FnDef(..)) {
    }