# HG changeset patch
# User marmistrz
# Date 1529856571 14400
# Node ID d1368c776a4f6a47d1c190a3c2f533a38a72fcb4
# Parent  cf189adc07fd4dbc3a242349dea86137a1e9753f
Enable all lints from the rust-2018-idioms suite.
Additionally, fix the violation of the bare-trait-objects lint.

diff -r cf189adc07fd -r d1368c776a4f gameServer2/src/main.rs
--- a/gameServer2/src/main.rs	Thu Jun 21 17:43:13 2018 -0400
+++ b/gameServer2/src/main.rs	Sun Jun 24 12:09:31 2018 -0400
@@ -1,4 +1,6 @@
 #![allow(unused_imports)]
+#![deny(bare_trait_objects)]
+#![warn(unreachable_pub)]
 
 extern crate rand;
 extern crate mio;
diff -r cf189adc07fd -r d1368c776a4f gameServer2/src/protocol/test.rs
--- a/gameServer2/src/protocol/test.rs	Thu Jun 21 17:43:13 2018 -0400
+++ b/gameServer2/src/protocol/test.rs	Sun Jun 24 12:09:31 2018 -0400
@@ -65,7 +65,7 @@
     }
 
     type Strategy = BoxedStrategy<Ascii>;
-    type ValueTree = Box<ValueTree<Value = Ascii>>;
+    type ValueTree = Box<dyn ValueTree<Value = Ascii>>;
 }
 
 pub fn gen_proto_msg() -> BoxedStrategy<HWProtocolMessage> where {
@@ -131,4 +131,4 @@
         57 => Empty()
     )});
     res.boxed()
-}
\ No newline at end of file
+}