summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-07-03 10:45:57 +0900
committerGitHub <noreply@github.com>2020-07-03 10:45:57 +0900
commit71b7b92f8938989a43ea434afcda3009627812c4 (patch)
tree90ece1769998b2cd46a892aeebb28f481254005d
parent91636398e393466806718fcce2926a13068e4a64 (diff)
parent20fabe6bf5ea5c967eb9a9cc411c5ea752b10f96 (diff)
downloadrust-libc-71b7b92f8938989a43ea434afcda3009627812c4.tar.gz
Merge pull request #1808 from JohnTitor/allowing-order
Fix ordering of allowed lints
-rw-r--r--src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 03d19341e4..2be57129f0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -6,14 +6,14 @@
#![crate_name = "libc"]
#![crate_type = "rlib"]
#![allow(
+ renamed_and_removed_lints, // Keep this order.
+ unknown_lints, // Keep this order.
bad_style,
overflowing_literals,
improper_ctypes,
// This lint is renamed but we run CI for old stable rustc so should be here.
redundant_semicolon,
- redundant_semicolons,
- renamed_and_removed_lints,
- unknown_lints
+ redundant_semicolons
)]
#![cfg_attr(libc_deny_warnings, deny(warnings))]
// Attributes needed when building as part of the standard library