   end
 
   def traverse(
-        ast =
-          {:|>, meta,
-           [
-             {{:., _, [{:__aliases__, _, [:Enum]}, first]}, _, _},
-             {{:., _, [{:__aliases__, _, [:Enum]}, second]}, _, _}
-           ]},
+        {:|>, meta,
+         [
+           {{:., _, [{:__aliases__, _, [:Enum]}, first]}, _, _},
+           {{:., _, [{:__aliases__, _, [:Enum]}, second]}, _, _}
+         ]} = ast,
         issues,
         issue_meta,
         message,

defmodule Credo.Check.Refactor.EnumHelpers do
  def traverse(
        ast =
          {{:., _, [{:__aliases__, meta, [:Enum]}, second]}, _,
           [{{:., _, [{:__aliases__, _, [:Enum]}, first]}, _, _}, _]},
        issues,
        issue_meta,
        message,

  end

  def traverse(
        {:|>, meta,
         [
           {:|>, _,
            [
              _,
              {{:., _, [{:__aliases__, _, [:Enum]}, first]}, _, _}
            ]},
           {{:., _, [{:__aliases__, _, [:Enum]}, second]}, _, _}
         ]} = ast,
        issues,
        issue_meta,
        message,
