From cace4fc6eb5a2f488cd221f5cd961d0555c008d4 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Wed, 31 Jan 2018 16:59:45 +0100 Subject: [PATCH] Remove #![deny(warnings)] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We already have https://github.com/servo/servo/pull/19612 to deny warnings at the time of landing into master. But it’s not useful to break the build when later compiler with a more recent Rust version that has introduced new warnings: https://bugzilla.mozilla.org/show_bug.cgi?id=1434619 --- components/style/lib.rs | 1 - ports/geckolib/lib.rs | 1 - support/gecko/nsstring/src/lib.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/components/style/lib.rs b/components/style/lib.rs index d789c1d3305..8a343496e6d 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -23,7 +23,6 @@ //! [cssparser]: ../cssparser/index.html //! [selectors]: ../selectors/index.html -#![deny(warnings)] #![deny(missing_docs)] #![recursion_limit = "500"] // For define_css_keyword_enum! in -moz-appearance diff --git a/ports/geckolib/lib.rs b/ports/geckolib/lib.rs index ca57307c245..15c42509a81 100644 --- a/ports/geckolib/lib.rs +++ b/ports/geckolib/lib.rs @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#![deny(warnings)] extern crate cssparser; extern crate env_logger; diff --git a/support/gecko/nsstring/src/lib.rs b/support/gecko/nsstring/src/lib.rs index 0321e38f8bb..d5c5f147c48 100644 --- a/support/gecko/nsstring/src/lib.rs +++ b/support/gecko/nsstring/src/lib.rs @@ -113,7 +113,6 @@ //! which invoke their member's destructors through C++ code. #![allow(non_camel_case_types)] -#![deny(warnings)] #[macro_use] extern crate bitflags;