We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c847101 commit 823522bCopy full SHA for 823522b
engine/lib/import_thir.ml
@@ -118,6 +118,10 @@ let c_attr (attr : Thir.attribute) : attr option =
118
in
119
let kind = DocComment { kind; body = comment } in
120
Some { kind; span = Span.of_thir span }
121
+ | Parsed (AutomaticallyDerived span) ->
122
+ (* Restore behavior before PR #1534 *)
123
+ let kind = Tool { path = "automatically_derived"; tokens = "" } in
124
+ Some { kind; span = Span.of_thir span }
125
| Unparsed { args = Eq { expr = { symbol; _ }; _ }; path = "doc"; span; _ } ->
126
(* Looks for `#[doc = "something"]` *)
127
let kind = DocComment { kind = DCKLine; body = symbol } in
0 commit comments