diff options
Diffstat (limited to 'src/test/parse-fail/removed-syntax-mut-vec-ty.rs')
| -rw-r--r-- | src/test/parse-fail/removed-syntax-mut-vec-ty.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/parse-fail/removed-syntax-mut-vec-ty.rs b/src/test/parse-fail/removed-syntax-mut-vec-ty.rs index 9a7570a92f0..00ea593656a 100644 --- a/src/test/parse-fail/removed-syntax-mut-vec-ty.rs +++ b/src/test/parse-fail/removed-syntax-mut-vec-ty.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// compile-flags: -Z parse-only + type v = [mut isize]; //~^ ERROR expected identifier, found keyword `mut` //~^^ ERROR expected one of `(`, `+`, `::`, `;`, `<`, or `]`, found `isize` |
