Skip to content

Commit

Permalink
Keep aliases for trait methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
maximebuyse committed Feb 4, 2025
1 parent 0f1fc51 commit fe4e1e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions engine/lib/dependencies.ml
Original file line number Diff line number Diff line change
Expand Up @@ -539,10 +539,9 @@ module Make (F : Features.T) = struct
| Some (`AssociatedItem _) -> true
| _ -> false ->
None
| Quote _
| Quote _ -> None
(* This is temporary: see https://github.com/cryspen/hax/issues/1285 *)
| Trait _ ->
None
| Trait { name; _ } when [%equal: concrete_ident] name from_id -> None
| _ -> Some { attrs; span = origin_item.span; ident = from_id; v })
in
let rename =
Expand Down

0 comments on commit fe4e1e0

Please sign in to comment.