Skip to content

Commit f83c97e

Browse files
committed
Update lint name
1 parent 37967b3 commit f83c97e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/lib.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@
1414
//! [pd]: https://rust-lang.github.io/libc/#platform-specific-documentation
1515
#![crate_name = "libc"]
1616
#![crate_type = "rlib"]
17-
#![cfg_attr(libc_deny_warnings, deny(warnings))]
17+
// FIXME: Remove this and redundant_semicolon once renamed lint reaches stable.
18+
#![allow(renamed_and_removed_lints)]
1819
#![allow(
1920
bad_style,
2021
overflowing_literals,
2122
improper_ctypes,
2223
unknown_lints,
23-
redundant_semicolon
24+
redundant_semicolon,
25+
redundant_semicolons
2426
)]
27+
#![cfg_attr(libc_deny_warnings, deny(warnings))]
2528
// Attributes needed when building as part of the standard library
2629
#![cfg_attr(
2730
feature = "rustc-dep-of-std",

0 commit comments

Comments
 (0)