diff options
Diffstat (limited to 'src/test/parse-fail/unsized.rs')
| -rw-r--r-- | src/test/parse-fail/unsized.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/parse-fail/unsized.rs b/src/test/parse-fail/unsized.rs index 92dbea0424b..1bcb5208d76 100644 --- a/src/test/parse-fail/unsized.rs +++ b/src/test/parse-fail/unsized.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 + // Test syntax checks for `type` keyword. struct S1 for type; //~ ERROR expected `where`, `{`, `(`, or `;` after struct name, found `for` |
