Revert "libstd: Change Path::new to Path::init."
This reverts commit c54427ddfb.
Leave the #[ignores] in that were added to rustpkg tests.
Conflicts:
src/librustc/driver/driver.rs
src/librustc/metadata/creader.rs
This commit is contained in:
parent
bd5305fbc8
commit
408dc5ad1b
42 changed files with 543 additions and 544 deletions
|
|
@ -122,7 +122,7 @@ mod test {
|
|||
fn test_errors_do_not_crash() {
|
||||
// Open /dev/null as a library to get an error, and make sure
|
||||
// that only causes an error, and not a crash.
|
||||
let path = GenericPath::init("/dev/null");
|
||||
let path = GenericPath::new("/dev/null");
|
||||
match DynamicLibrary::open(Some(&path)) {
|
||||
Err(_) => {}
|
||||
Ok(_) => fail!("Successfully opened the empty library.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue