We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7a5fd7 commit a3a632eCopy full SHA for a3a632e
lib/elixir/lib/code.ex
@@ -1709,7 +1709,9 @@ defmodule Code do
1709
def put_compiler_option(:warnings_as_errors, _value) do
1710
IO.warn(
1711
":warnings_as_errors is deprecated as part of Code.put_compiler_option/2, " <>
1712
- "pass it as option to Kernel.ParallelCompiler instead"
+ "pass it as option to Kernel.ParallelCompiler instead or as a --warnings-as-errors flag. " <>
1713
+ "If you need to set it as a default in a mix task, you can also set it under aliases: " <>
1714
+ "[compile: \"compile --warnings-as-errors\"]"
1715
)
1716
1717
:ok
0 commit comments