File: dont-deny-warnings.patch

package info (click to toggle)
rust-mio-0.6 0.6.23-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 816 kB
  • sloc: makefile: 4
file content (14 lines) | stat: -rw-r--r-- 509 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: mio-0.6/src/lib.rs
===================================================================
--- mio-0.6.orig/src/lib.rs
+++ mio-0.6/src/lib.rs
@@ -3,7 +3,8 @@
 // deprecated APIs.
 #![allow(bare_trait_objects, deprecated, unknown_lints)]
 #![deny(missing_docs, missing_debug_implementations)]
-#![cfg_attr(test, deny(warnings))]
+// #![cfg_attr(test, deny(warnings))]
+#![warn(useless_deprecated)]
 
 // Many of mio's public methods violate this lint, but they can't be fixed
 // without a breaking change.