diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-25 17:06:52 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-26 12:10:22 -0700 |
| commit | 43bfaa4a336095eb5697fb2df50909fd3c72ed14 (patch) | |
| tree | e10610e1ce9811c89e1291b786d7a49b63ee02d9 /src/test/run-pass/terminate-in-initializer.rs | |
| parent | 54f16b818b58f6d6e81891b041fc751986e75155 (diff) | |
| download | rust-43bfaa4a336095eb5697fb2df50909fd3c72ed14.tar.gz rust-43bfaa4a336095eb5697fb2df50909fd3c72ed14.zip | |
Mass rename uint/int to usize/isize
Now that support has been removed, all lingering use cases are renamed.
Diffstat (limited to 'src/test/run-pass/terminate-in-initializer.rs')
| -rw-r--r-- | src/test/run-pass/terminate-in-initializer.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/run-pass/terminate-in-initializer.rs b/src/test/run-pass/terminate-in-initializer.rs index b59d11d8674..ec9e7de40dc 100644 --- a/src/test/run-pass/terminate-in-initializer.rs +++ b/src/test/run-pass/terminate-in-initializer.rs @@ -16,20 +16,20 @@ use std::thread; -fn test_break() { loop { let _x: Box<int> = break; } } +fn test_break() { loop { let _x: Box<isize> = break; } } -fn test_cont() { let mut i = 0; while i < 1 { i += 1; let _x: Box<int> = continue; } } +fn test_cont() { let mut i = 0; while i < 1 { i += 1; let _x: Box<isize> = continue; } } -fn test_ret() { let _x: Box<int> = return; } +fn test_ret() { let _x: Box<isize> = return; } fn test_panic() { - fn f() { let _x: Box<int> = panic!(); } + fn f() { let _x: Box<isize> = panic!(); } thread::spawn(move|| f() ).join().err().unwrap(); } fn test_panic_indirect() { fn f() -> ! { panic!(); } - fn g() { let _x: Box<int> = f(); } + fn g() { let _x: Box<isize> = f(); } thread::spawn(move|| g() ).join().err().unwrap(); } |
