Skip to content

Commit f2fe43e

Browse files
authored
Update make_custom_env recipe to fix warnings (#12849)
1 parent 6a395a7 commit f2fe43e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/macro/env.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ defmodule Macro.Env do
1111
following trick:
1212
1313
def make_custom_env do
14-
import SomeModule, only: [some_function: 2]
15-
alias A.B.C
14+
import SomeModule, only: [some_function: 2], warn: false
15+
alias A.B.C, warn: false
1616
__ENV__
1717
end
1818

0 commit comments

Comments
 (0)