diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2015-01-08 21:54:35 +1100 | 
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-01-08 11:02:24 -0500 | 
| commit | 0c70ce1424f380360dcc8d857c68d2df1a27b6fd (patch) | |
| tree | 74d2e8e7267b4edcc4d5defe5a9b1a34d4e1d215 /src/test/compile-fail/for-loop-bogosity.rs | |
| parent | 4f5a57e80ef6c029278f1e8ef59e13dcea9b255b (diff) | |
| download | rust-0c70ce1424f380360dcc8d857c68d2df1a27b6fd.tar.gz rust-0c70ce1424f380360dcc8d857c68d2df1a27b6fd.zip  | |
Update compile fail tests to use isize.
Diffstat (limited to 'src/test/compile-fail/for-loop-bogosity.rs')
| -rw-r--r-- | src/test/compile-fail/for-loop-bogosity.rs | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/for-loop-bogosity.rs b/src/test/compile-fail/for-loop-bogosity.rs index 67d07ca4bd1..fd920f92394 100644 --- a/src/test/compile-fail/for-loop-bogosity.rs +++ b/src/test/compile-fail/for-loop-bogosity.rs @@ -9,12 +9,12 @@ // except according to those terms. struct MyStruct { - x: int, - y: int, + x: isize, + y: isize, } impl MyStruct { - fn next(&mut self) -> Option<int> { + fn next(&mut self) -> Option<isize> { Some(self.x) } }  | 
