Bug 1343984 - Turn on warnings-as-errors for webrender_bindings. r?jrmuizel draft
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 02 Mar 2017 15:48:38 -0500
changeset 492133 fd1447ac161646b7977dc0623e9bcbca6c9d6b2c
parent 492132 2042eb24a987e4b750113c6366b277308f763d94
child 547658 f3b3e08b1492caa433ac8d9583ae0c2534cfe2a4
push id47538
push userkgupta@mozilla.com
push dateThu, 02 Mar 2017 20:50:28 +0000
reviewersjrmuizel
bugs1343984
milestone54.0a1
Bug 1343984 - Turn on warnings-as-errors for webrender_bindings. r?jrmuizel MozReview-Commit-ID: LAMSusCKJ42
gfx/webrender_bindings/src/lib.rs
--- a/gfx/webrender_bindings/src/lib.rs
+++ b/gfx/webrender_bindings/src/lib.rs
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * 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 webrender;
 extern crate webrender_traits;
 extern crate euclid;
 extern crate app_units;
 extern crate gleam;
 
 #[allow(non_snake_case)]
 pub mod bindings;