refactor(syntax): remove unnecessary #[estree(field_order)] attr (#14142)

`span` is now automatically moved to be last field, so no need to specify field order explicitly here.
This commit is contained in:
overlookmotel committed 2025-09-26 08:45:56 +00:00
1 parent 5e05d1b1aa
commit 0a9473d473
1 file changed
+1 -1
+1 -1
View File
@@ -87,7 +87,7 @@ impl<'a> ModuleRecord<'a> {
#[ast]
#[derive(Debug, Clone, PartialEq, Eq)]
#[generate_derive(ESTree)]
#[estree(no_type, no_ts_def, field_order(name, span))]
#[estree(no_type, no_ts_def)]
pub struct NameSpan<'a> {
/// Name
#[estree(rename = "value")]