File tree Expand file tree Collapse file tree 4 files changed +3
-157
lines changed Expand file tree Collapse file tree 4 files changed +3
-157
lines changed Original file line number Diff line number Diff line change @@ -233,10 +233,6 @@ impl File {
233233 pub fn set_permissions ( & self , _perm : FilePermissions ) -> io:: Result < ( ) > {
234234 match self . 0 { }
235235 }
236-
237- pub fn diverge ( & self ) -> ! {
238- match self . 0 { }
239- }
240236}
241237
242238impl DirBuilder {
Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ impl From<AnonPipe> for Stdio {
6565}
6666
6767impl From < File > for Stdio {
68- fn from ( file : File ) -> Stdio {
69- file . diverge ( )
68+ fn from ( _file : File ) -> Stdio {
69+ panic ! ( "unsupported" )
7070 }
7171}
7272
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ pub mod ext;
3838pub mod path;
3939#[ path = "../unsupported/pipe.rs" ]
4040pub mod pipe;
41+ #[ path = "../unsupported/process.rs" ]
4142pub mod process;
4243#[ path = "../unsupported/rwlock.rs" ]
4344pub mod rwlock;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments