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/removed-syntax-mut-vec-ty.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/removed-syntax-mut-vec-ty.rs')
| -rw-r--r-- | src/test/compile-fail/removed-syntax-mut-vec-ty.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/removed-syntax-mut-vec-ty.rs b/src/test/compile-fail/removed-syntax-mut-vec-ty.rs index efde1f1b24d..0f67a1d04ee 100644 --- a/src/test/compile-fail/removed-syntax-mut-vec-ty.rs +++ b/src/test/compile-fail/removed-syntax-mut-vec-ty.rs @@ -8,6 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -type v = [mut int]; +type v = [mut isize]; //~^ ERROR expected identifier, found keyword `mut` - //~^^ ERROR expected one of `(`, `+`, `::`, `;`, or `]`, found `int` + //~^^ ERROR expected one of `(`, `+`, `::`, `;`, or `]`, found `isize` |
