Closed
Description
use std::os;
use extra::tempfile::TempDir;
fn main() {
let temp_dir = TempDir::new("asdf").unwrap();
os::change_dir(temp_dir.path());
}
task '<main>' failed at 'Unhandled condition: io_error:
io::IoError{kind: OtherIoError, desc: "resource busy or locked", detail: None}',
TempDir
has Drop
implementation of calling rmdir
the dir, but it may fail (platform-dependent) if the task change_dir
ed.
part of #10452: run-pass/glob-std.rs
.
Metadata
Metadata
Assignees
Labels
No labels