Skip to content

Commit

Permalink
Auto merge of rust-lang#74966 - jumbatm:allow-clashing-extern-decl, r…
Browse files Browse the repository at this point in the history
…=Mark-Simulacrum

[beta] Make ClashingExternDeclarations Allow by default.

As per rust-lang#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 rust-lang#73990), but those changes will have to arrive on the next release train.
  • Loading branch information
bors committed Aug 9, 2020
2 parents 63ca028 + 1625966 commit 32c481e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_lint/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit 32c481e

Please sign in to comment.