about summary refs log tree commit diff
path: root/src/test/compile-fail/lint-uppercase-variables.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-22 16:31:00 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-26 16:01:16 -0800
commit3a07f859b880bfe4dd6f095c959422d7c6b53831 (patch)
tree797b16a0b4c63a16a37b098c577d47b537a8fbac /src/test/compile-fail/lint-uppercase-variables.rs
parentf72b1645103e12b581f7022b893c37b5fe41aef7 (diff)
downloadrust-3a07f859b880bfe4dd6f095c959422d7c6b53831.tar.gz
rust-3a07f859b880bfe4dd6f095c959422d7c6b53831.zip
Fallout of io => old_io
Diffstat (limited to 'src/test/compile-fail/lint-uppercase-variables.rs')
-rw-r--r--src/test/compile-fail/lint-uppercase-variables.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/lint-uppercase-variables.rs b/src/test/compile-fail/lint-uppercase-variables.rs
index d9f899ede04..6f1e997e7bf 100644
--- a/src/test/compile-fail/lint-uppercase-variables.rs
+++ b/src/test/compile-fail/lint-uppercase-variables.rs
@@ -14,8 +14,8 @@
 #![allow(unstable)]
 #![deny(non_snake_case)]
 
-use std::io::File;
-use std::io::IoError;
+use std::old_io::File;
+use std::old_io::IoError;
 
 struct Something {
     X: usize //~ ERROR structure field `X` should have a snake case name such as `x`
@@ -35,7 +35,7 @@ fn main() {
         Ok(cnt) => println!("read this many bytes: {}", cnt),
         Err(IoError{ kind: EndOfFile, .. }) => println!("Got end of file: {:?}", EndOfFile),
 //~^ ERROR variable `EndOfFile` should have a snake case name such as `end_of_file`
-//~^^ WARN `EndOfFile` is named the same as one of the variants of the type `std::io::IoErrorKind`
+//~^^ WARN `EndOfFile` is named the same as one of the variants of the type `std::old_io::IoErrorKind`
     }
 
     test(1);