Skip to content

Commit 32c481e

Browse files
committed
Auto merge of #74966 - jumbatm:allow-clashing-extern-decl, r=Mark-Simulacrum
[beta] Make ClashingExternDeclarations Allow by default. As per #73990 (comment), this PR changes `clashing_extern_declarations` to allow-by-default to sidestep current false positives & negatives on the beta branch. Note that the changes to fix the issue properly have been merged to master (see #73990), but those changes will have to arrive on the next release train.
2 parents 63ca028 + 1625966 commit 32c481e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_lint/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2051,7 +2051,7 @@ impl<'tcx> LateLintPass<'tcx> for InvalidValue {
20512051

20522052
declare_lint! {
20532053
pub CLASHING_EXTERN_DECLARATIONS,
2054-
Warn,
2054+
Allow,
20552055
"detects when an extern fn has been declared with the same name but different types"
20562056
}
20572057

0 commit comments

Comments
 (0)