errors_as_warnings force to list USE macro errors

How can we suppress warnings in elixir, I wanted to force using errors_as_warnings but wanted to suppress specific modules from warnings which causes compilation failure.

For example, if I include USE macro, in one of the module that would though deprecated warnings.

Is there any specific way, i can resolve this.

Thanks in advance

You can’t silence individual warnings other than by fixing the source of the warning.

1 Like