Skip to content

Commit c92c183

Browse files
committed
Deny clashing_extern_declarations by default.
1 parent 1d69e3b commit c92c183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_lint/builtin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2067,7 +2067,7 @@ impl<'tcx> LateLintPass<'tcx> for InvalidValue {
20672067

20682068
declare_lint! {
20692069
pub CLASHING_EXTERN_DECLARATIONS,
2070-
Warn,
2070+
Deny,
20712071
"detects when an extern fn has been declared with the same name but different types"
20722072
}
20732073

0 commit comments

Comments
 (0)