From 1625966666a322090c2ca3459da2e5629dde26ff Mon Sep 17 00:00:00 2001 From: jumbatm <30644300+jumbatm@users.noreply.github.com> Date: Fri, 31 Jul 2020 11:26:59 +1000 Subject: [PATCH] Make ClashingExternDeclarations Allow by default. --- src/librustc_lint/builtin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_lint/builtin.rs b/src/librustc_lint/builtin.rs index 75e8d1cebdb8a..0d8d1c145a4dd 100644 --- a/src/librustc_lint/builtin.rs +++ b/src/librustc_lint/builtin.rs @@ -2051,7 +2051,7 @@ impl<'tcx> LateLintPass<'tcx> for InvalidValue { declare_lint! { pub CLASHING_EXTERN_DECLARATIONS, - Warn, + Allow, "detects when an extern fn has been declared with the same name but different types" }