From 20fabe6bf5ea5c967eb9a9cc411c5ea752b10f96 Mon Sep 17 00:00:00 2001
From: Yuki Okushi <huyuumi.dev@gmail.com>
Date: Fri, 3 Jul 2020 07:58:01 +0900
Subject: [PATCH] Fix ordering of allowed lints

---
 src/lib.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib.rs b/src/lib.rs
index 03d19341..2be57129 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
-- 
GitLab