diff options
Diffstat (limited to 'src/test/parse-fail/removed-syntax-uniq-mut-ty.rs')
| -rw-r--r-- | src/test/parse-fail/removed-syntax-uniq-mut-ty.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/parse-fail/removed-syntax-uniq-mut-ty.rs b/src/test/parse-fail/removed-syntax-uniq-mut-ty.rs index d1c2fc69f52..77e64e7c997 100644 --- a/src/test/parse-fail/removed-syntax-uniq-mut-ty.rs +++ b/src/test/parse-fail/removed-syntax-uniq-mut-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 mut_box = Box<mut isize>; //~^ ERROR expected identifier, found keyword `mut` //~^^ ERROR expected one of `(`, `+`, `,`, `::`, `<`, or `>`, found `isize` |
