Sfoglia il codice sorgente

Sweep deprecated warnings under the rug

Ben S 11 anni fa
parent
commit
cf38f90aa9
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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.