1
0
Эх сурвалжийг харах

Sweep deprecated warnings under the rug

Ben S 11 жил өмнө
parent
commit
cf38f90aa9
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      src/main.rs

+ 2 - 1
src/main.rs

@@ -1,4 +1,5 @@
-#![feature(collections, core, exit_status, io, libc, old_io, old_path, os, std_misc)]
+#![feature(collections, core, exit_status, io, libc, old_fs, old_io, old_path, os, std_misc)]
+#![allow(deprecated)]
 
 // Other platforms than macos don't need std_misc but you can't
 // use #[cfg] on features.