diff --git a/tasks/ast_tools/src/generators/ast_builder.rs b/tasks/ast_tools/src/generators/ast_builder.rs
index b2e2d2116a6a2..3cfa71f78e841 100644
--- a/tasks/ast_tools/src/generators/ast_builder.rs
+++ b/tasks/ast_tools/src/generators/ast_builder.rs
@@ -2,10 +2,8 @@ use std::{borrow::Cow, stringify};
use convert_case::{Case, Casing};
use itertools::Itertools;
-use lazy_static::lazy_static;
use proc_macro2::TokenStream;
use quote::{format_ident, quote, ToTokens};
-use rustc_hash::FxHashMap;
use syn::{parse_quote, Ident, Type};
use crate::{
@@ -231,25 +229,13 @@ fn generate_enum_from_variant_builder_fn(
}
fn default_init_field(field: &FieldDef) -> bool {
- macro_rules! field {
- ($ident:ident: $ty:ty) => {
- (stringify!($ident), stringify!($ty))
- };
- }
- lazy_static! {
- static ref DEFAULT_FIELDS: FxHashMap<&'static str, &'static str> = FxHashMap::from_iter([
- field!(scope_id: Cell