diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2015-01-08 22:02:42 +1100 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-01-08 11:02:24 -0500 |
| commit | 85f961e2ccf056965fd7a95c44ce0922a865ae8d (patch) | |
| tree | 35a4eba610197d3b0442914440963dab9200fdd1 /src/test/compile-fail/huge-array-simple.rs | |
| parent | 0c70ce1424f380360dcc8d857c68d2df1a27b6fd (diff) | |
| download | rust-85f961e2ccf056965fd7a95c44ce0922a865ae8d.tar.gz rust-85f961e2ccf056965fd7a95c44ce0922a865ae8d.zip | |
Update compile fail tests to use usize.
Diffstat (limited to 'src/test/compile-fail/huge-array-simple.rs')
| -rw-r--r-- | src/test/compile-fail/huge-array-simple.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/huge-array-simple.rs b/src/test/compile-fail/huge-array-simple.rs index a9dda771b7f..1e04e685e41 100644 --- a/src/test/compile-fail/huge-array-simple.rs +++ b/src/test/compile-fail/huge-array-simple.rs @@ -11,5 +11,5 @@ // error-pattern: too big for the current fn main() { - let fat : [u8; (1<<61)+(1<<31)] = [0; (1u64<<61) as uint +(1u64<<31) as uint]; + let fat : [u8; (1<<61)+(1<<31)] = [0; (1u64<<61) as usize +(1u64<<31) as usize]; } |
