diff --git a/src/lib.rs b/src/lib.rs index 6c4cbf7ae8dbfb6e903b4d7d0d4c0104a4874fde..03d19341e467e834e0a527c757238ccaa0a34fa2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,15 +5,15 @@ //! [pd]: https://rust-lang.github.io/libc/#platform-specific-documentation #![crate_name = "libc"] #![crate_type = "rlib"] -// FIXME: Remove this and redundant_semicolon once renamed lint reaches stable. -#![allow(renamed_and_removed_lints)] #![allow( bad_style, overflowing_literals, improper_ctypes, - unknown_lints, + // This lint is renamed but we run CI for old stable rustc so should be here. redundant_semicolon, - redundant_semicolons + redundant_semicolons, + renamed_and_removed_lints, + unknown_lints )] #![cfg_attr(libc_deny_warnings, deny(warnings))] // Attributes needed when building as part of the standard library