mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
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:
1 parent
5e05d1b1aa
commit
0a9473d473
1 file changed
+1
-1
@@ -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")]
|
||||
|
||||
Reference in new issue
Block a user