Skip to content

Commit c847101

Browse files
committed
fix(engine): rustc emits attr. "automatically_derived" in a different format
1 parent b862230 commit c847101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/lib/import_thir.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ let is_automatically_derived (attrs : Thir.attribute list) =
13751375
~f:(function
13761376
(* This will break once these attributes get properly parsed. It will
13771377
then be very easy to parse them correctly *)
1378-
| Unparsed { path; _ } -> String.equal path "automatically_derived"
1378+
| Parsed (AutomaticallyDerived _) -> true
13791379
| _ -> false)
13801380
attrs
13811381

0 commit comments

Comments
 (0)