File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ val missing_id_error_message : string
1515val invalid_payload_error_message : string
1616(* * Error when embed payload is not a string literal or record literal. *)
1717
18-
1918val normalize_tag_for_symbol : string -> string
2019(* * Convert an embed tag (validated as an attribute id) into a safe fragment
2120 for inclusion in a single identifier, by replacing '.' with '_'. *)
Original file line number Diff line number Diff line change @@ -128,8 +128,7 @@ let write_structure_index ~outprefix ~sourcefile (ast : structure) : unit =
128128 | Some (Ext_json_noloc. Str s ) -> s
129129 | _ ->
130130 (* Should be prevented by earlier validation *)
131- Location. raise_errorf ~loc " %s"
132- Ext_embed. missing_id_error_message)
131+ Location. raise_errorf ~loc " %s" Ext_embed. missing_id_error_message)
133132 | _ ->
134133 Location. raise_errorf ~loc " %s"
135134 Ext_embed. invalid_payload_error_message
Original file line number Diff line number Diff line change @@ -181,8 +181,6 @@ pub struct GeneratedModuleInfo {
181181 pub rel_path : PathBuf ,
182182}
183183
184-
185-
186184fn embeds_index_path_for_ast ( ast_rel : & Path ) -> PathBuf {
187185 let stem = ast_rel
188186 . file_stem ( )
You can’t perform that action at this time.
0 commit comments