From f83c97ec2eed00d574039b160fc0c0f8242c063e Mon Sep 17 00:00:00 2001 From: Yuki Okushi <huyuumi.dev@gmail.com> Date: Wed, 4 Mar 2020 17:34:34 +0900 Subject: [PATCH] Update lint name --- src/lib.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 0b1496af..d5fba02d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,14 +14,17 @@ //! [pd]: https://rust-lang.github.io/libc/#platform-specific-documentation #![crate_name = "libc"] #![crate_type = "rlib"] -#![cfg_attr(libc_deny_warnings, deny(warnings))] +// 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, - redundant_semicolon + redundant_semicolon, + redundant_semicolons )] +#![cfg_attr(libc_deny_warnings, deny(warnings))] // Attributes needed when building as part of the standard library #![cfg_attr( feature = "rustc-dep-of-std", -- GitLab