about summary refs log tree commit diff
path: root/src/test/compile-fail/lint-uppercase-variables.rs
diff options
context:
space:
mode:
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 b6eda8635c2..9317e465a7a 100644
--- a/src/test/compile-fail/lint-uppercase-variables.rs
+++ b/src/test/compile-fail/lint-uppercase-variables.rs
@@ -17,15 +17,15 @@ use std::io::File;
 use std::io::IoError;
 
 struct Something {
-    X: uint //~ ERROR structure field `X` should have a snake case name such as `x`
+    X: usize //~ ERROR structure field `X` should have a snake case name such as `x`
 }
 
-fn test(Xx: uint) { //~ ERROR variable `Xx` should have a snake case name such as `xx`
+fn test(Xx: usize) { //~ ERROR variable `Xx` should have a snake case name such as `xx`
     println!("{}", Xx);
 }
 
 fn main() {
-    let Test: uint = 0; //~ ERROR variable `Test` should have a snake case name such as `test`
+    let Test: usize = 0; //~ ERROR variable `Test` should have a snake case name such as `test`
     println!("{}", Test);
 
     let mut f = File::open(&Path::new("something.txt"));