aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/src/xref_compiler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tools/src/xref_compiler.erl')
-rw-r--r--lib/tools/src/xref_compiler.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tools/src/xref_compiler.erl b/lib/tools/src/xref_compiler.erl
index c80eb0e669..1445e135be 100644
--- a/lib/tools/src/xref_compiler.erl
+++ b/lib/tools/src/xref_compiler.erl
@@ -31,6 +31,8 @@
-define(CALL(F), ok).
-endif.
+%% Avoid warning for local function error/1 clashing with autoimported BIF.
+-compile({no_auto_import,[error/1]}).
-export([compile/2]).
-export([update_graph_counter/3]).