fix(rome_diagnostics_macros): correctly ignore unknown attributes
MODIFY
crates/rome_diagnostics/tests/macros/unknown_field_attr.stderr
crates/rome_diagnostics/tests/macros/unknown_field_attr.stderr
-error: unknown attribute
- --> tests/macros/unknown_field_attr.rs:5:7
- |
-5 | #[unknown_attr]
- | ^^^^^^^^^^^^
-
error: cannot find attribute `unknown_attr` in this scope
--> tests/macros/unknown_field_attr.rs:5:7
|

MODIFY
crates/rome_diagnostics_macros/src/parse.rs
crates/rome_diagnostics_macros/src/parse.rs
@@ -168,8 +168,6 @@ impl DeriveInput {
result.source = Some(ident.clone());
continue;
}
-
- abort!(attr.path.span(), "unknown attribute");
}
}

fix(rome_diagnostics_macros): correctly ignore unknown attributes (#3433)