Skip to content

Commit 71bc70e

Browse files
committed
Remove references to old_{path,io}
1 parent fe7f95f commit 71bc70e

File tree

19 files changed

+12
-36
lines changed

19 files changed

+12
-36
lines changed

src/libcollections/fmt.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,6 @@
262262
//! Example usage is:
263263
//!
264264
//! ```
265-
//! # #![feature(old_io)]
266265
//! # #![allow(unused_must_use)]
267266
//! use std::io::Write;
268267
//! let mut w = Vec::new();
@@ -290,7 +289,6 @@
290289
//! off, some example usage is:
291290
//!
292291
//! ```
293-
//! # #![feature(old_io)]
294292
//! use std::fmt;
295293
//! use std::io::{self, Write};
296294
//!

src/libserialize/json.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2059,7 +2059,7 @@ impl<T: Iterator<Item=char>> Builder<T> {
20592059
}
20602060
}
20612061

2062-
/// Decodes a json value from an `&mut old_io::Reader`
2062+
/// Decodes a json value from an `&mut io::Read`
20632063
pub fn from_reader(rdr: &mut Read) -> Result<Json, BuilderError> {
20642064
let mut contents = Vec::new();
20652065
match rdr.read_to_end(&mut contents) {

src/libstd/panicking.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ use rt::{backtrace, unwind};
1919
use sys::stdio::Stderr;
2020
use thread;
2121

22-
// Defined in this module instead of old_io::stdio so that the unwinding
2322
thread_local! {
2423
pub static LOCAL_STDERR: RefCell<Option<Box<Write + Send>>> = {
2524
RefCell::new(None)

src/libtest/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
#![feature(std_misc)]
4444
#![feature(libc)]
4545
#![feature(set_stdio)]
46-
#![cfg_attr(test, feature(old_io))]
4746

4847
extern crate getopts;
4948
extern crate serialize;

src/test/auxiliary/linkage-visibility.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(std_misc, old_path)]
11+
#![feature(std_misc)]
1212

1313
use std::dynamic_lib::DynamicLibrary;
1414

src/test/debuginfo/issue13213.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
// aux-build:issue13213aux.rs
1414

15-
#![feature(old_io)]
16-
1715
extern crate issue13213aux;
1816

1917
// compile-flags:-g

src/test/run-make/cannot-read-embedded-idents/create_and_compile.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(old_io, old_path)]
12-
1311
use std::env;
1412
use std::fs::File;
1513
use std::process::Command;

src/test/run-make/extern-fn-reachable/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(std_misc, old_path, os)]
11+
#![feature(std_misc)]
1212

1313
use std::dynamic_lib::DynamicLibrary;
14-
use std::os;
1514
use std::path::Path;
1615

1716
pub fn main() {

src/test/run-pass/closure-reform.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
/* Any copyright is dedicated to the Public Domain.
1212
* http://creativecommons.org/publicdomain/zero/1.0/ */
1313

14-
#![feature(unboxed_closures, old_io)]
15-
16-
use std::mem;
14+
#![feature(unboxed_closures)]
1715

1816
fn call_it<F>(f: F)
1917
where F : FnOnce(String) -> String

src/test/run-pass/issue-10626.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
// Make sure that if a process doesn't have its stdio/stderr descriptors set up
1313
// that we don't die in a large ball of fire
1414

15-
#![feature(old_io)]
16-
1715
use std::env;
1816
use std::process::{Command, Stdio};
1917

0 commit comments

Comments
 (0)