diff options
author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-07-03 07:58:01 +0900 |
---|---|---|
committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-07-03 07:58:01 +0900 |
commit | 20fabe6bf5ea5c967eb9a9cc411c5ea752b10f96 (patch) | |
tree | 90ece1769998b2cd46a892aeebb28f481254005d | |
parent | 91636398e393466806718fcce2926a13068e4a64 (diff) | |
download | rust-libc-20fabe6bf5ea5c967eb9a9cc411c5ea752b10f96.tar.gz |
Fix ordering of allowed lints
-rw-r--r-- | src/lib.rs | 6 |
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 |