diff --git a/astlib/migrate_501_500.ml b/astlib/migrate_501_500.ml index b77cc75a4..a0a776e1c 100644 --- a/astlib/migrate_501_500.ml +++ b/astlib/migrate_501_500.ml @@ -792,14 +792,11 @@ and copy_module_expr_desc loc : let x1 = match x1.pmod_desc with | Pmod_structure [] -> - let loc = { x1.pmod_loc with loc_ghost = true } in + let loc = { x1.pmod_loc with loc_ghost = true } in let pmod_attributes = { Ast_500.Parsetree.attr_name = - { - txt = "ppxlib.migration.keep_structure"; - loc; - }; + { txt = "ppxlib.migration.keep_structure"; loc }; attr_payload = Ast_500.Parsetree.PStr []; attr_loc = loc; }